As a user, I want to have a page to upload and share photos so that another user can see my stories.
Acceptance Criteria:
-
Users must be able to upload a photo from their local device. -
The file upload should support common image formats (e.g., JPG, PNG, GIF). -
Users should be able to see the photo after submitting the upload. -
The photo should be successfully uploaded and stored on the server. -
The page should allow users to view their photo on a profile or gallery section.
Tasks
-
Design the UI for the photo upload page, ensuring it is user-friendly. -
Create a gallery section where users can view their uploaded photos. -
Implement a file input button to allow users to select an image file. -
Develop the backend logic to receive and store the uploaded photo on the server.
Edited by Haoyu Sun