API in node.js with Swagger documentation. Server is created using Express with lowdb as the database. API was built to OpenAPI / Swagger Specifications Ver 3.0.3 with documentation done in YAML (in the users.js file).
I built the API in Node.js using Express as the main web framework and lowdb as the database. I decided to use lowb instead of a relational database like MySQL or PostgreSQL for demonstration purposes. To execute and test the API, please follow these steps:
- Download the repo to your computer locally.
- Unzip the files into any folder.
- Go to the directory of the folder "User-coin-API" in terminal or windows CLI
- Execute the index.js file with "node index.js"
- Go to your browser and type in the address "http://localhost:4000/coin-user-api"