A robust API for managing tasks seamlessly. Built with Node.js, Express, and MongoDB.
- JavaScript
- Node.js
- Express
- MongoDB
To get a local copy up and running follow these simple example steps.
In order to run this project you need:
- Node.js installed on your machine
- MongoDB installed and running locally or accessible remotely
Clone this repository to your desired folder:
cd <folder>
git clone https://github.com/MohamedHNoor/task-manager-api.git
Install dependencies with:
npm install
To run the project, execute the following command:
npm start
Ensure MongoDB is running, and configure the connection URI in an environment variable named MONGO_URI. You can set it in a .env file or directly in your environment.
Example .env file:
MONGO_URI=mongodb://localhost:27017/task-manager
- Create Task: POST
api/v1/tasks
- Read Task: GET
api/v1/tasks/:id
- Update Task: PATCH
api/v1/tasks/:id
- Delete Task: DELETE
api/v1/tasks/:id
- List Tasks: GET
api/v1/tasks
👤 Mohamed Hassan Noor
- GitHub: @MohamedHNoor
- Twitter: @MohamedHNoor
- LinkedIn: LinkedIn
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Hat tip to @john-smilga for his invaluable teachings in his Node.js course.
- Inspiration
- etc
This project is MIT licensed.