Simple task manager app with Task list containing list of tasks
- Node 12+
- Docker
- docker-compose https://docs.docker.com/compose/install/
-
Node Application Runs on port 8000, (make sure you don't have anything running on that port)
-
Clone the repository
git clone https://github.com/arshadkazmi42/task-manager-crud
- In the project root directory run below command
docker-compose up
- To remove all containers
docker-compose down
- Remove images
docker rmi mysql
docker rmi task-manager-crud_web
docker run -p 127.0.0.1:3306:3306 --name=mysql-server -e MYSQL_ROOT_PASSWORD=root -d mysql
docker exec -i mysql-server mysql -uroot -proot sys < schema.sql
npm install
node index.js
- Import the postman collection
Dataminr.postman_collection.jsonin postman - Try using the APIs
- Note: Some dummy data will already be present if you have used above steps to setup the database
- To run the tests using the below command
npm test