This is a server-side application for a task management system. It is built using Node.js, Express, and MongoDB.
- Node.js
- Express
- MongoDB
- Docker
- Docker Compose
git clone https://github.com/RiveraHan/task_server.gitcd task-servernpm installcp .env.example .env
# open .env and modify the environment variables (if needed)Running locally:
npm run devRunning in production:
npm run startTesting:
# run all tests
npm run test
# run all tests in watch mode
npm run test:watch
# run test coverage
npm run coverageDocker:
# run docker container in development mode
npm run docker:dev
# run docker container in production mode
npm run docker:prod
# run all tests in a docker container
npm run docker:testLinting:
# run ESLint
npm run lint
# fix ESLint errors
npm run lint:fix
# run prettier
npm run prettier
# fix prettier errors
npm run prettier:fixThe app should now be running on http://localhost:4000.