vocal-remover-app
vocal-remover-app copied to clipboard
Server setup with Node.js & MongoDB
Install dependencies
- mongoose
- express
- cors
- connect-multiparty
- body-parser :
- helmet : Helmet helps you secure your Express apps by setting various HTTP headers
- compression : Node.js compression middleware.
Models
- create database schemas
- use mongoose, a MongDB connection utility
Controller
Routes
Test Test app API endpoints using cURL
NB: MongoDB instance must be running, before you begin the cURL test. To start a MongoDB server, run the command: mongod.
Test: GET A USER
curl --request GET \
--url http://localhost:5000/api/user/5a92cf3f2dec79115c8fc78a