feat: core api endpoints #95

Merged
lima merged 10 commits from feat/93-core_api_endpoints into main 2025-06-20 22:13:02 +00:00
Owner

closes #93

Endpoints: (/api/*)

  • /auth/[...nextauth] - next-auth login/logout handlers
  • /user
    • /me
      • GET - Get the current user information
      • PATCH - Update the current user information
    • /{user}
      • GET - Get the user information of another user (by id or username)
      • /calendar
        • GET - Get user availability
  • /search
    • /user
      • GET - Search for users
  • /event
    • GET - Get all events relevant to the user
    • POST - Create a event
    • /{eventID}
      • GET - Get a specific event by id
      • PATCH - Update a specific event (needs organizer perms)
      • DELETE - Deletes a event (needs organizer perms)
      • /participant
        • GET - Get all event participants
        • POST - Invite a user to an event
        • /{user}
          • GET - get participant status
          • PATCH - set participant status
          • DELETE - delete user invitation
closes #93 ## Endpoints: (/api/*) - /auth/[...nextauth] - next-auth login/logout handlers - /user - /me - [x] GET - Get the current user information - [x] PATCH - Update the current user information - /{user} - [x] GET - Get the user information of another user (by id or username) - /calendar - [x] GET - Get user availability - /search - /user - [x] GET - Search for users - /event - [x] GET - Get all events relevant to the user - [x] POST - Create a event - /{eventID} - [x] GET - Get a specific event by id - [x] PATCH - Update a specific event (needs organizer perms) - [x] DELETE - Deletes a event (needs organizer perms) - /participant - [x] GET - Get all event participants - [x] POST - Invite a user to an event - /{user} - [x] GET - get participant status - [x] PATCH - set participant status - [x] DELETE - delete user invitation
dominik added 6 commits 2025-06-14 10:00:19 +00:00
feat(auth): update user lookup to support name or email in authentication
Some checks failed
container-scan / Container Scan (pull_request) Failing after 6m14s
docker-build / docker (pull_request) Successful in 10m13s
c9ccf24c13
When testing api endpoints make sure to login with a real user (not with the dev hardcoded user) by either registering one with a password other than "password" or setting DISABLE_AUTH_TEST_USER to "true" (`DISABLE_AUTH_TEST_USER=true yarn dev`)
dominik added 1 commit 2025-06-14 10:01:02 +00:00
style: format code
All checks were successful
container-scan / Container Scan (pull_request) Successful in 3m31s
docker-build / docker (pull_request) Successful in 9m48s
02d99726d8
dominik added 1 commit 2025-06-14 10:18:19 +00:00
refactor(api): normalize swagger example formating
All checks were successful
container-scan / Container Scan (pull_request) Successful in 4m0s
docker-build / docker (pull_request) Successful in 10m37s
d220e1af65
dominik added 2 commits 2025-06-14 17:11:33 +00:00
feat(api): add summaries for user information retrieval and update endpoints
All checks were successful
container-scan / Container Scan (pull_request) Successful in 4m10s
docker-build / docker (pull_request) Successful in 11m19s
f830ed9d88
dominik force-pushed feat/93-core_api_endpoints from f830ed9d88 to 76e52d53f4 2025-06-14 17:24:34 +00:00 Compare
dominik added 2 commits 2025-06-16 10:33:54 +00:00
feat(api): add tags to event and user routes for better categorization
All checks were successful
container-scan / Container Scan (pull_request) Successful in 2m48s
docker-build / docker (pull_request) Successful in 6m39s
787edf8e1f
dominik added 1 commit 2025-06-17 19:50:59 +00:00
feat(api): add user search endpoint and normalize response data and validation
Some checks failed
container-scan / Container Scan (pull_request) Failing after 7m35s
docker-build / docker (pull_request) Failing after 11m56s
476114ca87
dominik added 1 commit 2025-06-17 20:11:28 +00:00
refactor(api): standardize Swagger documentation
Some checks failed
container-scan / Container Scan (pull_request) Failing after 1m29s
docker-build / docker (pull_request) Has been cancelled
ce834dfc99
dominik force-pushed feat/93-core_api_endpoints from ce834dfc99 to 7eeadb4696 2025-06-17 20:13:57 +00:00 Compare
dominik added 1 commit 2025-06-18 06:36:20 +00:00
chore: update dev container to support api client generation
All checks were successful
container-scan / Container Scan (pull_request) Successful in 12m35s
docker-build / docker (pull_request) Successful in 12m29s
e4b3141d7a
dominik added 1 commit 2025-06-18 07:56:07 +00:00
fix(api): parse search api url params
Some checks failed
container-scan / Container Scan (pull_request) Failing after 48s
docker-build / docker (pull_request) Failing after 12m49s
2df519fa84
dominik force-pushed feat/93-core_api_endpoints from 2df519fa84 to 98cf490acd 2025-06-18 07:58:52 +00:00 Compare
dominik force-pushed feat/93-core_api_endpoints from 98cf490acd to 4b8cdc3fe5 2025-06-18 08:19:12 +00:00 Compare
dominik added 3 commits 2025-06-18 21:13:47 +00:00
dominik force-pushed feat/93-core_api_endpoints from c5bcb41e69 to afbefa8a52 2025-06-18 21:17:47 +00:00 Compare
dominik force-pushed feat/93-core_api_endpoints from afbefa8a52 to cc7e943a5a 2025-06-18 21:19:42 +00:00 Compare
dominik force-pushed feat/93-core_api_endpoints from cc7e943a5a to eef17c5360 2025-06-19 13:54:11 +00:00 Compare
dominik added 1 commit 2025-06-19 18:29:05 +00:00
fix(api): update paths in Swagger documentation to include '/api' prefix
Some checks failed
container-scan / Container Scan (pull_request) Failing after 31s
docker-build / docker (pull_request) Failing after 4m46s
a36ea0cb6b
dominik force-pushed feat/93-core_api_endpoints from a36ea0cb6b to 5e9f8b59a4 2025-06-19 18:47:11 +00:00 Compare
dominik changed title from WIP: feat: core api endpoints to feat: core api endpoints 2025-06-19 19:11:39 +00:00
dominik force-pushed feat/93-core_api_endpoints from 5e9f8b59a4 to a04076a48c 2025-06-20 11:32:32 +00:00 Compare
dominik force-pushed feat/93-core_api_endpoints from a04076a48c to 8f13450400 2025-06-20 11:35:19 +00:00 Compare
dominik force-pushed feat/93-core_api_endpoints from 8f13450400 to 083f091f0f 2025-06-20 11:47:41 +00:00 Compare
dominik force-pushed feat/93-core_api_endpoints from 083f091f0f to b165703df5 2025-06-20 11:51:06 +00:00 Compare
dominik force-pushed feat/93-core_api_endpoints from b165703df5 to 445a15ccc7 2025-06-20 12:00:21 +00:00 Compare
micha.bok approved these changes 2025-06-20 22:10:31 +00:00
lima merged commit 360f0788dd into main 2025-06-20 22:13:02 +00:00
lima deleted branch feat/93-core_api_endpoints 2025-06-20 22:13:02 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: DHBW-WE/MeetUp#95
No description provided.