-
Read the Paystack Docs
-
Install the project dependencies
npm install
-
Copy and paste the
.env.example
and rename the copy as.env
-
Create an account on PayStack and fill teh variables in th
.env
file and don't forget to set your environment variables when you deploy to Heroku or Cyclic -
By default, the server will be in test mode. To go live, set the
IS_PAYSTACK_LIVE=true
in the.env
file -
Refer to Paystack documentation if you have any issues
-
Spin up a dev server with
npm run dev
(automatic restart with nodemon) ornpm run start-dev
-
Deploy to
Heroku
orCyclic
and enjoy