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.
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.