Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 806 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 806 Bytes

REST SERVER

This README file is valid for v2.1.0, you can check it out in the available tags

CRUD users

This is a basic configuration of a rest server where you can create, read, update and delete users from a mongodb

Use npm install or npm i to install all the dependencies

Use npm run dev to run the server in development mode

To connect to a database you need to rename the file .env.template to .env and replace the value of the MONGODB_URI with a conncection string that looks like:

mongodb+srv://<username>:<password>@beyondthebasics.abcde.mongodb.net/test

To know more about this yo can visit MongoDB Connection String the info you need is the section How to get your MongoDB Atlas connection string