Explore the docs »
View Demo
·
Api Demo
Tired with your daily life and need a quick vacation to another city and / or country? Worry not, Ankasa will help you find a flight ticket to any popular destination in the world. Start creating an account to buy you and your family a ticket to Bali, you can use a filter to get the cheapest and most comfortable flight there is to maximize your holiday plan. This project was done in a team.
These are the libraries and service used for building this backend API
Follow this steps to run the server locally :
- Clone this repository
git clone https://github.com/alifankebima/ankasa-backend.git
- Change directory to ankasa-backend
cd ankasa-backend
- Install all of the required modules
npm install
-
Create PostgreSQL database, query are provided in ankasa-database-query.sql
-
Create and configure
.env
file in the root directory, example credentials are provided in .env.example
- Please note that this server requires Google Drive API credentials and Gmail service account
- Otherwise API endpoint with image upload and account register won't work properly
- Run this command to run the server
npm run server
- Or run this command for running in development environment
npm run dev
- Run this command for debugging and finding errors
npm run lint
Documentation files are provided in the docs folder
API endpoint list are also available as published postman documentation
This backend API is created by 3 backend team members and 1 support member, where each member have different tasks
@alifankebima (Alif Anke Bima Putra) :
- Relational database design
- Flights CRUD
- Booking CRUD
- Passengers CRUD
- Notification CRUD
- Postman API documentation
@rrizalyuniar (R. Rizal Yuniar Sutono) :
- Airline CRUD
- City CRUD
- Credit Card CRUD
- Email verification implementation
@andkvnt (Andiko Oktavianto) :
- Reviews CRUD
- Flights, airlines, and city dummy data
@preedok (Muhamad Iqbal Aprido) (Support member) :
- Team leader
- Authentication with JWT
- Users CRUD
- Admin CRUD
- Chat CRUD
Fullstack Developer / Product Manager | Backend Developer | Backend Developer | Backend Developer | Frontend Developer | Frontend Developer |
---|---|---|---|---|---|
Muhamad Iqbal Aprido |
Alif Anke Bima Putra |
Andiko Oktavianto |
R. Rizal Yuniar S. |
Hosea Leonardo |
Rezaldho Armadhani |
Project link : https://github.com/alifankebima/ankasa-backend