This is a simple backend implementation of an online marketplace using REST architecture
- Install all the dependencies.
- Create a database in mongodb and put the url in
app.jsfile in the suggested format. - Create env variables by the name
MONGO_ATLAS_USERandMONGO_ATLAS_PWto store the username and password of your mongodb username and password respectively. - If you are using
nodemonto run your server, you can createnodemon.jsonfile in the root directory with the env variables. - Run the server using
nodemon server.js. - Now you can use Postman or any other tool to shoot requests at the server.