This project is a backend API built using Node.js, Express and PostgreSQL.
It was created as part of the PrimeTrade Backend Developer Intern assignment.
The API allows users to register, login and manage tasks. Authentication is handled using JWT tokens.
- User registration
- User login with JWT authentication
- Protected routes using middleware
- Create tasks
- Get tasks
- Update tasks
- Delete tasks
- Node.js
- Express.js
- PostgreSQL
- JWT (jsonwebtoken)
- bcryptjs
- Postman for testing APIs
-
Clone the repository
-
Install dependencies
-
Configure PostgreSQL database in:
-
Start the server