Skyfly API allows you to get the needed resources to make Skyfly application run seamlessly. Some of this service is using authentication to access each service. You need to login first to access the service.
SkyFly is an online flight ticket booking application designed to provide a seamless and user-friendly experience for booking flights. This Android application supports various functionalities essential for an efficient flight booking system.
Github | |||
---|---|---|---|
FSW | Reinanda Faris | Github | |
Viery Nugroho | Github | ||
Andhika Rizky Aulia | Github | ||
Ananda Ias Falah | Github | ||
Naufal Ady Saputro | Github | ||
Rizki Mauludin Yoga P. | Github | ||
Rafi Husein Bagaskara | Github | ||
Lowis Armando Hutabarat | Github | ||
AND | Komang Yuda Saputra | Github | |
Ihsan Widagdo | Github | ||
Bella Febriany Nawangsari | Github | ||
Mochammad Yusuf Pratama | |||
Project Title | SKY-FLY | ||
Note | Binar KM6 | ||
ClickUp Team C1 Binar KM6 | |||
Daily Stand-Up Team C1 Binar KM6 | |||
Deployed API |
- MVVM (Model View ViewModel)
- Repository Pattern
- Coroutine Flow
- Koin Dependency Injection
- Coil Image Loader
- Retrofit
- OkHttp
- Groupie
- Room
- Chucker
- JUnit 4
- Firebase
- Postman
- Onboarding Screen: The first time you install the app, an onboarding screen will be displayed.
- Home Tab: After completing the onboarding, you'll be navigated to the Home tab.
- Selecting Flight Details:
- Choose the origin and destination.
- Select the departure date.
- Specify the number of passengers and seat class.
- Viewing Available Flights:
- Once you fill out the form, you'll be directed to the available flights page.
- Select a flight to view its details.
- Flight Detail:
- After selecting a flight, you will be taken to the flight detail screen.
- Authentication:
- If you're not logged in, you'll be prompted to log in or register.
- You can create a new account or log in if you already have one.
- Ticket and Passenger Form:
- Fill out the ticket booking form and the passenger details form.
- Seat Selection:
- Navigate to the seat view to choose your desired seat.
- Flight Detail Review:
- Review the flight details you've selected.
- Payment:
- Proceed to the payment menu, where various payment methods are available, such as transfer and QRIS.
- Ticket Confirmation:
- After completing the payment, you'll see the detailed ticket information.
- Viewing Ticket History:
- All your ticket booking history will be displayed here.
- Click on any booking to view its details.
- Transaction Status:
- The tab shows the status of your transactions: "PAID", "UNPAID", or "CANCELED".
- If you have unpaid bookings and want to cancel them, click the "cancel transaction" button below the details.
- Viewing Notifications:
- View all notifications related to your account.
- Click on a notification to see more details.
- Viewing and Editing Profile:
- View your personal information and edit details such as your name and phone number.
- Changing Password:
- Click the button to change your password.
- Logging Out:
- Use the logout button if you wish to log out of your account.
POST api/v1/auth/login
Query | Type | Description |
---|---|---|
loginRequest |
object |
Required. Login request payload (email, password) |
POST api/v1/auth/register
Query | Type | Description |
---|---|---|
registerRequest |
object |
Required. Register request payload (FullName, Email, PhoneNumber, password) |
PUT api/v1/auth/verified
Query | Type | Description |
---|---|---|
token |
string |
Required. Verification token |
verifyAccountRequest |
object |
Required. Verify account request payload (otp) |
POST api/v1/auth/forgetPassword
Parameter | Type | Description |
---|---|---|
forgetPasswordRequest |
object |
Required. Forget password request payload (email) |
GET api/v1/flights/
Query | Type | Description |
---|---|---|
search |
string |
Search query |
page |
int |
Page number for pagination |
limit |
int |
Number of results per page |
departureAirport |
string |
Departure airport code |
arrivalAirport |
string |
Arrival airport code |
departureDate |
string |
Departure date (YYYY-MM-DD) |
returnDate |
string |
Return date (YYYY-MM-DD) |
arrivalDate |
string |
Arrival date (YYYY-MM-DD) |
seatClass |
string |
Seat class |
adult |
int |
Number of adult passengers |
children |
int |
Number of child passengers |
baby |
int |
Number of baby passengers |
sort |
string |
Sorting order |
GET api/v1/flights/{id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Flight ID |
seatClass |
string |
Seat class |
GET api/v1/airports/
Query | Type | Description |
---|---|---|
city |
string |
City name |
showAll |
boolean |
Show all airports (default: true) |
GET api/v1/flightSeats/flight/{id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Flight ID |
limit |
int |
Number of results per page |
GET api/v1/auth/me
Query | Type | Description |
---|---|---|
token |
string |
Required. Verification token |
PATCH api/v1/auth/me
Query | Type | Description |
---|---|---|
token |
string |
Required. Verification token |
updateProfileRequest |
object |
Required. Update profile request payload (FullName/phoneNumber |
POST api/v1/transactions/payment
Query | Type | Description |
---|---|---|
token |
string |
Required. Verification token |
flightId |
string |
Required. Flight ID |
adult |
int |
Required. Number of adults |
child |
int |
Required. Number of children |
baby |
int |
Required. Number of babies |
transactionRequest |
object |
Required. Transaction request payload |
GET api/v1/notifications
Query | Type | Description |
---|---|---|
token |
string |
Required. Verification token |
limit |
int |
Number of results per page |
GET api/v1/transactions/{id}
Parameter | Type | Description |
---|---|---|
token |
string |
Required. Verification token |
id |
string |
Required. Transaction ID |
GET api/v1/transactions
Query | Type | Description |
---|---|---|
token |
string |
Required. Verification token |
limit |
int |
Number of results per page |
startDate |
string |
Start date for filtering (YYYY-MM-DD) |
endDate |
string |
End date for filtering (YYYY-MM-DD) |
flightCode |
string |
Flight code for filtering |
GET /api/v1/tickets/{id}
Parameter | Type | Description |
---|---|---|
token |
string |
Required. Verification token |
id |
string |
Required. Ticket ID |