event-management-frontend/README.md

182 lines
6.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Event Management Frontend
The Event Management Frontend is a native Android application developed in
Kotlin. This app provides a comprehensive calendar-based event management
system designed for seamless user interaction.
This project was created as the final assignment for **AP7PD** and **AP7MP** subjects.
It integrates with a custom backend REST API to manage users, events,
attendees, and categories effectively.
## Overview / Key Features
- **Monthly Calendar View**: View events in a grid layout by weeks and days.
- **Daily View**: Easily browse and manage daily events.
- **Event Management**: Create, edit, and delete events with support for categories and attendees.
- **User Authentication**: Register and log in with robust access and refresh
token support, ensuring secure and seamless user sessions.
- **Error Handling**: Gracefully handles API errors, including scenarios where
the backend is unreachable.
## Backend requirements
The application requires a running backend API for full functionality. The
backend is implemented using FastAPI in Python.
You can find the source code and detailed deployment instructions for the
backend API at: [Event Management Backend
Repository](https://git.itsdrike.com/ap7pd/event-management-backend).
> [!TIP]
> The app supports dynamic configuration of the API base URL, allowing you to
> deploy the backend on any server or cloud provider of your choice. If you
> wish to test the app from android studio, you can deploy the backend locally
> (<http://localhost:8000>) and set the base URL to `http://10.0.2.2:8000`.
> This will allow the Android emulator to access the local backend server. Note
> that this is also the default value.
## Showcase
Below is a showcase of key features and screens in the application:
<table>
<!-- First Image Row -->
<tr>
<th>📶 API Unreachable</th>
<th>🔒 Login Screen</th>
<th>🔧 Base URL Change</th>
</tr>
<tr>
<td>
<img src="showcase/01_api_unreachable.png" alt="API Unreachable" />
</td>
<td>
<img src="showcase/02_login.png" alt="Login Screen" />
</td>
<td>
<img src="showcase/02_login_base_url_change.png" alt="Base URL Change" />
</td>
</tr>
<tr>
<td><div style="width:290px;">Error screen, shown whenever the API becomes unreachable.</div></td>
<td><div style="width:290px;">Login screen for user authentication, first screen you will face when you start the app for the first time.</div></td>
<td><div style="width:290px;">Screen to change the API base URL, available from login, register & API unreachable pages (doesn't require being signed in).</div></td>
</tr>
<!-- Second Image Row -->
<tr>
<th>📝 Register Screen</th>
<th>📆 Month View</th>
<th>📅 Day View</th>
</tr>
<tr>
<td>
<img src="showcase/03_register.png" alt="Register Screen" />
</td>
<td>
<img src="showcase/04_month_view.png" alt="Month View" />
</td>
<td>
<img src="showcase/05_day_view.png" alt="Day View" />
</td>
</tr>
<tr>
<td><div style="width:290px;">User registration screen.</div></td>
<td><div style="width:290px;">Monthly calendar view to browse events, the screen shown immediately after login.</div></td>
<td><div style="width:290px;">Daily event view, listing the events for that day.</div></td>
</tr>
<!-- Third Image Row -->
<tr>
<th>⏳ Edit Duration Event</th>
<th>⚡ Edit Instant Event</th>
<th>📨 Invite User to Event</th>
</tr>
<tr>
<td>
<img src="showcase/06_duration_event_edit.png" alt="Edit Duration Event" />
</td>
<td>
<img src="showcase/07_instant_event_edit.png" alt="Edit Instant Event" />
</td>
<td>
<img src="showcase/08_invite_user_to_event.png" alt="Invite User to Event" />
</td>
</tr>
<tr>
<td><div style="width:290px;">Edit screen for duration-based events.</div></td>
<td><div style="width:290px;">Edit screen for instant events.</div></td>
<td><div style="width:290px;">Interface for inviting users to an event.</div></td>
</tr>
<!-- Fourth Image Row -->
<tr>
<th>⏱️ Duration Event Details</th>
<th>🔍 Instant Event Details</th>
<th>📂 Categories Overview</th>
</tr>
<tr>
<td>
<img src="showcase/09_duration_event_details.png" alt="Duration Event Details" />
</td>
<td>
<img src="showcase/10_instant_event_details.png" alt="Instant Event Details" />
</td>
<td>
<img src="showcase/11_categories.png" alt="Categories Overview" />
</td>
</tr>
<tr>
<td><div style="width:290px;">Detailed view of a duration-based event.</div></td>
<td><div style="width:290px;">Detailed view of an instant event.</div></td>
<td><div style="width:290px;">List of event categories of the user.</div></td>
</tr>
<!-- Fifth Image Row -->
<tr>
<th> Create New Category</th>
<th>🆕 Updated Categories Overview</th>
<th>⚙️ Settings Screen</th>
</tr>
<tr>
<td>
<img src="showcase/12_new_category.png" alt="Create New Category" />
</td>
<td>
<img src="showcase/13_categories_with_new.png" alt="Updated Categories" />
</td>
<td>
<img src="showcase/14_settings.png" alt="Settings Screen" />
</td>
</tr>
<tr>
<td><div style="width:290px;">Form to create a new category or edit an existing one.</div></td>
<td><div style="width:290px;">Updated list with a newly added category.</div></td>
<td><div style="width:290px;">Settings menu for configuring user details & the base URL. This screen is only available to logged in users.</div></td>
</tr>
<!-- Sixth Image Row -->
<tr>
<th>🔔 Notification: Invite</th>
<th>👀 Invite Preview</th>
<th>✅ Notification: Accepted</th>
</tr>
<tr>
<td>
<img src="showcase/15_notification_invite_bob.png" alt="Notification: Invite" />
</td>
<td>
<img src="showcase/16_invite_event_details_preview.png" alt="Invite Preview" />
</td>
<td>
<img src="showcase/17_notification_invite_accepted_bob.png" alt="Notification: Accepted" />
</td>
</tr>
<tr>
<td><div style="width:290px;">Notification about an incoming event invite.</div></td>
<td><div style="width:290px;">Preview of the event from the invite (after clicking the eye button).</div></td>
<td><div style="width:290px;">That same notification for the invite, after acceptance. This notification also doesn't have the orange bar on the left, meaning it's marked as read.</div></td>
</tr>
</table>