- Notifications
You must be signed in to change notification settings - Fork0
ugglr/REST-Express-Mongo-Backend-Boilerplate
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
- NODE
- EXPRESS
- MONGOOSE
- MONGODB
(NOTE ON MONGODB: I USE A LOCAL INSTALLATION OF MONGODB ON THE DEFAULT PORTS AND IF YOU DO THE SAME THE SERVER SHOULD CONNECT DIRECTLY. IF YOU ARE USING MONGO ATLAS OR ANOTHER CLOUD SOLUTION YOU'LL NEED TO GET THAT CONFIGURED. )
git clone "put-repo-https-link here"
Install dependencies
yarn
Start Server (runs: nodemon index.js)
yarn run start
If you are using Postman switch to raw + json
USER:
- getting a user by emailhttp://localhost:3000/api/user/getUserByEmail
GET: Request body (JSON)
{ "email": "mail@mail.com"}
POST: Request body (JSON)
{ "email": "mail@mail.com", "password": "SecretPassword"}
POST: Request body (JSON)
{ "email": "mail@mail.com", "password": "SecretPassword"}
About
Hit the ground running with this powerful production worthy REST Backend API Boilerplate. Comes with user models, password hashing and sending JWT. Stack: Node, Express, MongoDB+Mongoose.
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.