Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Calls to Integrate #14

Open
sshradd opened this issue Sep 17, 2024 · 0 comments
Open

API Calls to Integrate #14

sshradd opened this issue Sep 17, 2024 · 0 comments
Labels
back-end back-end task front-end front-end task

Comments

@sshradd
Copy link
Collaborator

sshradd commented Sep 17, 2024

Confirm with the backend team (or full-stack developer) that the API endpoints are set up and ready to be used. For example, the APIs for login, memory saving, memory retrieval, or Spotify data need to be operational.

Example Flow:
Login Page: Once the user logs in, the frontend sends the login credentials to the backend’s login endpoint. If successful, the backend responds with a token, which the frontend stores for future authenticated API calls.

Memory Saving Page: When a user adds a memory, the frontend sends a POST request to the backend with the song and location data, which the backend stores in DynamoDB.

Map Page: The frontend sends a GET request to retrieve all saved memories and then renders those on the map.

@sshradd sshradd added front-end front-end task back-end back-end task labels Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-end back-end task front-end front-end task
Projects
None yet
Development

No branches or pull requests

1 participant