Skip to content

Repository files navigation

Install Dependencies

npm install

Configure Environment Variables

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

DATABASE_HOST=your_host

DATABASE_PORT=your_port

DATABASE_USER=your_user

DATABASE_PASSWORD=your_password

DATABASE_NAME=your_database

JWT_SECRET=your_secret

Running the Application

npm run dev

The server will run on:

http://localhost:3000

Method Endpoint Description
POST /auth/signup Register a new user
POST /auth/login Login and receive JWT token
GET /todos Retrieve all user tasks
POST /todos Create a new task
PATCH /todos/:id Update a task
DELETE /todos/:id Delete a task

Postman Documentation

LOGIN Screenshot 2026-04-19 163201

SIGNUP Screenshot 2026-04-19 163130

DELETE TASK Screenshot 2026-04-19 164103

UPDATE TASK Screenshot 2026-04-19 163849

GET ALL TASK Screenshot 2026-04-19 163448

CREATE TASK Screenshot 2026-04-19 163420

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages