- Prerequiste
- Installation
- Create Environment Variable
- Start Development Server
- Postman Collection
- API Endpoint
- About Project
- Related Project
- Contributing
- Contact
- Node.js - Download and Install Node.js.
- MySQL - Download and Install MySQL
- Express.js - Download and Install Express.js
- Sequelize.js - Download and Install Sequelize.js
- Midtrans - Download and Install Midtrans
- Node-cron - Download and Install Node-cron
$ git clone https://github.com/defri-ansyah/Ankasa-API.git
$ cd Ankasa-API
$ npm install
DB_HOST=YOUR_DB_HOST
DB_USER=YOUR_DB_USER
DB_PASSWORD=YOUR_DB_PASSWORD
DB_NAME=YOUR_TABLE_NAME
PORT=YOUR_PORT
SECRET_KEY = YOUR_SECRET_KEY
URL_EMAIL_CONFIRM = YOUR_EMAIL_VALIDATION_PAGE_FRONTEND
EMAIL = YOUR_EMAIL_CONFIRMATION
PASSWORD = YOUR_EMAIL_PASSWORD
$ npm run serve
No | HTTP Method | URI | Operation |
---|---|---|---|
1 | POST | /api/auth/signup | Register new user |
2 | POST | /api/auth/login | login user |
3 | POST | /api/auth/forgot-password/request | Request forgot password via email |
4 | POST | /api/auth/forgot-password/new-password/:token | Forgot password |
5 | PATCH | /api/auth/edit-password | Edit password from profile user |
No | HTTP Method | URI | Operation |
---|---|---|---|
1 | PATCH | /api/user/edit-profile | Edit profile user |
2 | PATCH | /api/user/update-image | update image user |
3 | DELETE | /api/user/delete-image | Delete image user |
4 | GET | /api/user/detail | Get detail user |
5 | GET | /api/user/my booking | Get all booking user |
No | HTTP Method | URI | Operation |
---|---|---|---|
1 | GET | /api/ticketing/find | Get find ticket |
2 | POST | /api/ticketing/select-ticket | Select ticket by flight route id for order |
3 | GET | /api/ticketing/detail/:order_id | Get order detail by order id & userid |
4 | PATCH | /api/ticketing/input-flight-detail | Input flight detail by order id |
5 | GET | /api/ticketing/amount-completed-payment | Get total completed payment on admin |
No | HTTP Method | URI | Operation |
---|---|---|---|
1 | GET | /api/data-lookup/city | Get city on find ticket |
No | HTTP Method | URI | Operation |
---|---|---|---|
1 | POST | /api/airlines/insert-airlines | Add new airlines on admin |
2 | DELETE | /api/airlines/delete/:id | Delete airlines on admin |
3 | GET | /api/airlines | Get all airlines on admin |
4 | PATCH | /api/airlines/update-airlines/:id | Update name airlines on admin |
5 | GET | /api/airlines/get-by-id/:id | Get airlines by id on admin |
6 | GET | /api/airlines/amount | Get total airlines on admin |
7 | POST | /api/airlines/search | Search airlines on admin |
8 | PATCH | /api/airlines/update-logo/:id | Update logo airlines on admin |
No | HTTP Method | URI | Operation |
---|---|---|---|
1 | POST | /api/flightroute/insert-route | Insert flighroutes on admin |
2 | DELETE | /api/flighroute/delete/:id | Delete flightroutes on admin |
3 | GET | /api/flighroute | Get all flightroutes on admin |
4 | PATCH | /api/flightroute/update/:id | Update flightroutes on admin |
5 | GET | /api/flightroute/get-by-id/:id | Get flightroutes by id on admin |
6 | GET | /api/flightroute/amount | Get total flightroutes on admin |
7 | POST | /api/flightroute/search | Search flightroutes on admin |
Ankasa is a project inspired by one of Unicorn in Indonesia. With Ankasa Ticketing, users can search a specific flights to another countries. The App also has a Find Ticket and Filter Features that allows users to select a country as an arrival destination and explore flight prices to various regions.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
Fork the Project
- Create your Feature Branch
git checkout -b [feature]
- Commit your Changes
git commit -m 'Add some feature'
- Push to the Branch
git push origin [feature]
- Open a Pull Request
Defri Ansyah |
Gefy Aqiilah Aqshal |
Arbi Dwi WIjaya |
Trisa Safira Hasanah |
Copyright © 2021 Defri Ansyah