NODE (js but for the backend) NPM (node package manager) NVM (node version manager - optional but nice)
- Put the rest of the config stuff into flags and/or env vars
- Caching
- Memory
- Websockets
- Db Backup
- Just Log it Out
- File
- Db restore
- File
- Metrics
- Logs
- Tags
- Implement all the crud methods
- Mongoose validation
- Background process like "Delete “old” todo’s"
- Split up files
- Use async/await
- Link Frontend Project to This Backend
- Serve the UI from this code
- Middleware
- logging (log when each request happen)
- Dos protection (rate limit base on ip or other identification)
- Docker
docker run -d --name cs-todo-2022-mongo -e MONGO_INITDB_ROOT_USERNAME=user -e MONGO_INITDB_ROOT_PASSWORD=password -e MONGO_INITDB_DATABASE=cs-todo-2022 -p 27017:27017 -v $PWD/mongo-entrypoint/:/docker-entrypoint-initdb.d/ mongo