docker run --name my-mongo -d -v data:/data/db -p 27017:27017 mongo
docker restart my-mongo
docker build --tag=note-taking-app .
docker run -p 3000:3000 note-taking-app
sudo docker-compose up
docker tag 2e40730bbdae alinisarahmed/note-app:firsttry
docker tag (image Id) (docker id / repo : tag name)
docker push alinisarahmed/note-app
docker run --rm prakhar1989/static-site
docker port static-site
POST: /api/auth/register : User can enter username (unique) and password to signup.
POST: /api/auth 5AC6 /login : User logins using username & password
GET: /api/notes => get all notes for a user
POST: /api/notes/create => User can create a note, only after logging in
DELETE: /api/notes/:noteId => User can delete a note
PUT: /api/notes/:noteId => Modify a note
npm run dev- Visit http://localhost:3000
npm start- Visit http://localhost:3000