Skip to content

Latest commit

 

History

62 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task Manager Application 📝

This is a simple task manager application built using Node.js, Express.js, MongoDB, and Mongoose.

Overview

This project provides endpoints for managing tasks and user authentication. Key features include:

  • User authentication with JWT (JSON Web Tokens)
  • CRUD operations for tasks
  • RESTful API design
  • MongoDB database integration
  • Middleware for authentication and authorization
  • Error handling and validation

How to Run the Project 💡

Prerequisites

Before running this project, make sure you have the following installed on your machine:

Getting Started 🚀

Clone the repository:

git clone https://github.com/Yasinj05/task-manager-api.git

Go to the project directory:

cd task-manager-api

Install dependencies:

npm install

Run the Tests:

npm test
  • (Currently, only unit tests have been implemented on the project)

Start MongoDB:

mongod

Create a .env file in the root directory and add the following:

JWT_PRIVATE_KEY=your_jwt_private_key_here
PORT=your-port

Start the server:

npm start

Access the Application:

Once the server is running, you can access the application:

Users:

Tasks:

Authentication:

Ensure to replace :id in the route URLs with the actual task ID when performing update or delete operations.

Contributing

Contributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request.

License ⚖️

This project is licensed under the MIT License - see the LICENSE file for details.

About

This project is a task manager API built using Node.js, Express, and MongoDB. It provides endpoints for managing tasks and user authentication

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages