This is a simple In-Memory Task Management Application built with Node.js and Express.
The Task Management Application is a web-based platform allowing users to manage tasks by creating, viewing, updating, and deleting them. It provides basic user authentication and stores task data in memory.
- User authentication for session-based login.
- Create, view, update, and delete tasks with a title, description, due date, and status.
- Task status can be toggled between completed and pending.
- All data is stored in memory and is non-persistent.
- Clone this repository.
- Install dependencies using
npm install
. - Run the application using
npm start
.
- Access the application via a web browser at
http://localhost:3000
. - Register or log in to create, view, update, or delete tasks.
- POST
/register
: Register a new user. - POST
/login
: Log in to the application. - POST
/logout
: Log out from the current session. - GET
/tasks
: View all tasks for the logged-in user. - POST
/tasks
: Create a new task. - PUT
/tasks/:taskId
: Update an existing task. - DELETE
/tasks/:taskId
: Delete a task. - PATCH
/tasks/:taskId/status
: Toggle task status between completed and pending.
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature
). - Commit your changes (
git commit -m 'Add your feature'
). - Push to the branch (
git push origin feature/your-feature
). - Create a new Pull Request.
This project is licensed under the MIT License.