- Node.js
- Express.js
- PostgreSQL
- Sequelize ORM
- Passport.js
- Docker
- Install PostgreSQL and configure necessary environment variables for your project.
- Run the API and test using Postman or ThunderClient.
- Endpoint:
localhost:3000/user/register
[POST] - Request Body Example:
{ "username": "Naruto", "email": "[email protected]", "password": "uzumaki" }
- Endpoint:
localhost:3000/user/login
[POST] - Request Body Example:
{ "email": "[email protected]", "password": "uzumaki" }
- JWT Token will be generated.
- Use the token in the Bearer token under the auth header for authorization.
- Receive email notifications upon successful registration or login.
- Endpoint:
localhost:3000/task
[POST] - Request Body Example:
{
"reminder": "Read Rust Docs",
"description": "Learn Rust to thrive in the Solana ecosystem",
"date": "2024-01-26",
"time": "18:00"
}
- Endpoint:
localhost:3000/task
[POST] - Request Body Example:
{
"agenda": "Attend Ethindia Hackathon",
"mode": "offline",
"location": "Bangalore",
"description": "Sanjay is going to attend Ethindia Hackathon, the world's biggest Ethereum hackathon",
"date": "2024-01-26",
"time": "18:00"
}
- Endpoint:
localhost:3000/task
[DELETE] - Request Body Example:
{
"agenda": "Attend Ethindia Hackathon"
}
or
{
"reminder": "Read Rust Docs"
}
The load test ran for 1 minute and 1 second.
- Total Requests: 1200
- Request Rate: 20 requests per second
- Minimum Response Time: 64 milliseconds
- Maximum Response Time: 203 milliseconds
- Mean Response Time: 78.7 milliseconds
- Median Response Time: 74.4 milliseconds
- P95 (95th percentile): 106.7 milliseconds
- P99 (99th percentile): 133 milliseconds
- 200 OK: 600 requests
- 201 Created: 1 request
- 500 Internal Server Error: 599 requests