Guide Introduction
Introduction
In the guide, I won’t provide a detailed explanation of every function in the app, as most of the API endpoints are already self-explanatory. I will only create a guide for functions that need to interact with multiple API endpoints or require a detailed explanation.
To find an API endpoint not included in the guide, consider its purpose. For example, if you need to change a user’s password, it means you’re going to modify the account’s password. In this case, navigate to the Account API.
Another example: if you’re going to update the cover photo of an event, navigate to the Event API, as you’re updating information related to the event.
That’s all there is to it. To learn how the application works, ask the owner for the User Manual.
Developer’s Note
Please note that while you can upload both images and videos to an event, the table is named event_photos. This is due to an oversight on my part. The MVP only supported image uploads, and I did not initially consider future support for other media types. To avoid refactoring the codebase and potentially introducing breaking changes, I’ve added a new column to identify the media type. For more information, please see the Event Photos table.
If some of the APIs are missing in this document, please refer to http://localhost:8080/api/swagger or https://api.capturit.app/api/swagger, as these contain the most up-to-date version.