Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 412 Bytes

README.md

File metadata and controls

27 lines (22 loc) · 412 Bytes

simple-api

A simple CRUD backend using node js and mongodb

Install all dependecies by doing this

yarn install

Install mongodb https://docs.mongodb.com/manual/installation/

Create New Database with user authentication

mongo
use simple-api-dev
db.createUser({
 user: "admin",
 pwd: "password",
 roles: [{ role: "userAdmin", db: "simple-api-dev"}]
})

Run in development mode

yarn dev