This is a task manager API built with Node.js, Express.js and MongoDB. It allows users to create an account, login, logout, create, read, update and delete tasks.it allows also to assign tasks to users.
- Clone the repo
git clone https://github.com/CaMiMtoto/Task-Management-API-Node-JS.git
- Install NPM packages in the root folder
npm install
- Create .env file in the root folder and add the following environment variables
PORT=3000 SECRET_KEY=your_jwt_secret MONGODB_URI=your_mongodb_url
- Run the app
npm start
- Use Postman to test the API endpoints
- Use MongoDB Compass to view the database
Go find the Frontend for this API https://github.com/CaMiMtoto/Task-Management-React-Js