A simple and efficient Task Manager API built with Node.js, Express, and MongoDB. This RESTful API allows users to manage tasks with functionalities such as creating, updating, retrieving, and deleting tasks. The app uses JSON Web Tokens (JWT) for user authentication and supports user-specific task management.
- User authentication using JWT
- Create, read, update, and delete tasks
- User-specific task management
- RESTful API design
- TypeScript support
- Node.js
- Express.js
- MongoDB (with Mongoose)
- JSON Web Tokens (JWT)
- TypeScript
- Nodemon (for development)
- Clone the repository:
https://github.com/ShahidAli786/TaskManagerNodeJS.git
cd TaskManagerNodeJS- Install dependencies:
yarn install- Create a .env file in the root directory with the following variables:
PORT=Your Port
MONGODB_URL=mongodb://localhost:27017/task-manager
JWT_KEY=your_jwt_secret_key_hereFor development (with auto-reload):
yarn run devFor production:
yarn build
yarn start
For endpoint information Please check rest-api.http file.