This project is an example implementation for collecting monthly parking payments using Rapyd Collect API and Node.js
- Node.js and npm installed on the computer.
- Code editor like VSCode.
- Clone this repository
- Run
npm install
- Create an account on Rapyd
- Open the Rapyd Client Portal in a web browser.
- Click Developers, on the left-navigation to open the Developers page.
- Select, Crednetials Details on the Developers page.
- Copy the Access key and Secret key using the copy button.
- Create a new
.env
file in the project and paste both the values
ACCESS_KEY=<copied-value>
SECRET_KEY=<copied-value>
Run npm run dev
at the project root to start the server and open http://localhost:3000
in a web browser.
Before starting the server implementation, it's essential to understand the solution and go through the architecture. The below diagram explains how the user, your Nodejs application, and Rapyd Collect API communicate together.