This API allows you to manage appointments and users.
/api/appointments
: Endpoint for managing appointments/api/users
: Endpoint for managing users/api/auth
: Endpoint for user authentication and refresh-tokenPOST /api/appointments/:userId
: Create a new appointmentGET /api/appointments/:id
: Get an appointment by IDPUT /api/appointments/:id
: Update an appointment by ID (Admin or Moderator access required)DELETE /api/appointments/:id
: Delete an appointment by ID (Admin access required)GET /api/appointments
: Get all appointments (Admin or Moderator access required)GET /api/appointments/user/:userId
: Get appointments by user IDGET /api/appointments/semaine
: Get appointments by weekPOST /api/users
: Create a new userGET /api/users/:id
: Get a user by IDGET /api/users
: Get all users (Admin access required)PUT /api/users/:id
: Update a user by ID (Admin access required)DELETE /api/users/:id
: Delete a user by ID (Admin access required)POST /api/auth/signin
: User signinPOST /api/auth/refreshtoken
: Refresh access tokenPlease refer to the API documentation for more information on how to use each endpoint.
Thank you for using the Appointment Management API!