Skip to content

Latest commit

 

History

History

API.Points

API.Points

Node/NestJS REST API for adding achievements, checking into achievements, uploading photos, and many other features.

Technical Features:

ToDos

Advanced ToDos

  • Websocket leaderboard/notifications
  • Multitenancy
  • Revoking JWT tokens with some event based system
  • Created/updated by
  • Validate model before uploading photo
  • Restrict uploads behind ACL
  • Partial match search for achievements using $regex
  • Decouple endpoints from photo uploads
    • The reason for this is that the permissions gaurd is unable to parse the req.body of a multipart form request
    • the req.body is important because this determines if entity is owned by the user
  • Dynamic permissions and roles using some cacheing mechanism