Backend Routes - Gargar77/CleanTrac GitHub Wiki

Backend Routes

API Endpoints

user_token

  • POST /auth/signin returns a unique JWT token as a session identifier.

users

  • POST /auth/signup saves user information to the database. A valid signup token must be included in the payload in order for the request to be accepted.
  • GET /api/user returns User data, including current accounts assigned to this user. A valid JWT must be included in the payload in order for the request to be accepted.