Skip to content

Latest commit

 

History

History
62 lines (54 loc) · 2.02 KB

TODO.md

File metadata and controls

62 lines (54 loc) · 2.02 KB

Taskora TODO List

Features to Implement

  • Soft delete refresh tokens
  • Add rate limiting to authentication endpoints
  • Make OTP table to track generated OTPs
  • Make OTP valid for 15m instead of 5m
  • Enhance constants to be interfaces or types
  • Create googleId and githubId instead of providerId
  • Migrate OTP table to Prisma
  • Search by token instead userUUID in verify email
  • Integrate with SMTP server to send emails
  • Rename files to be more descriptive
  • Add more security
  • Learn how to link local account with social account
  • Handle transactions correctly
  • Handle SRP correctly
  • Handle if github account is private
  • Create a decorator for less use of try-catch blocks
  • Handle AxiosErrors in OAuth2 Clients
  • Migrate to a Docker container with Nginx
  • Enhance parameters to be as interfaces or types
  • Fix deployment issues
  • Created Eid competition
  • Remove Ramadan challenge
  • Notify winner of Eid competition
  • Hash OTP in redis
  • OTP expiration must be less than 15m. Decide on the exact duration (e.g., 5m)
  • Add middleware to check if user is deleted
  • Centralize error messages
  • Integrate with BullMQ for background job processing
  • Add BullMQ dashboard
  • Integrate with Monitoring tools (eg. Prometheus, Grafana, Datadog)

Improvements

  • Add logging
  • Enhance API documentation
    • Postman
    • Swagger
  • Close port 3000 in production
  • Fix GitHub Actions workflow [ci.yaml]
  • Enhance deployment process using PM2
  • Fix Memory Leak
  • Add caching for getMany endpoints
  • Add CONTRIBUTING.md
  • Add issue templates
  • Enhance email service to use Strategy pattern
  • Enhance BullMQ dashboard, and add more metrics.
  • Fix bounced emails issue

Testing

  • Unit tests for all endpoints
  • Integration tests if possible

Deployment

  • Set up CI/CD pipeline
  • Containerize application with Docker
  • Deploy to cloud provider (e.g., AWS, Azure, GCP)