Giter VIP home page Giter VIP logo

ankasa-ticketing-backend's Introduction

Logo

Ankasa Flight Booking API

A Web Service and Backend APIs for Ankasa Web Application.
Explore the docs »

View Web App · Report Bug · Request Feature

API Documentation

Auth Endpoint

No HTTP Method URL Operation
1 GET /api/auth/verify-email Verify email user
2 POST /api/auth/register Register new user
3 POST /api/auth/login Login user
4 PUT /api/auth/forgot-password Forgot password
4 PUT /api/auth/reset-password Reset password

User Endpoint

No HTTP Method URL Operation
1 GET /api/users Get all users (admin)
2 GET /api/users/:id Get detail user
3 PUT /api/users/update/profile Update profile (user)
4 PUT /api/users/update/photo Update photo (user)
5 PUT /api/users/status/:id Change status user active or non active (admin)
6 PUT /api/users/level/:id Change user to admin or customer (admin)

PIC Endpoint

No HTTP Method URL Operation
1 GET /api/pic Get all pic (admin)
2 GET /api/pic/:id Get detail pic
3 POST /api/pic Add pic (admin)
4 PUT /api/pic/:id Update pic (admin)
5 PUT /api/pic-status/:id Change pic active or non active (admin)

Flight Endpoint

No HTTP Method URL Operation
1 GET /api/flight Get all flight (admin)
2 GET /api/flight/:id Get detail flight
3 GET /api/flight-customers Get flight latest
4 POST /api/flight Create flight (admin)
5 PUT /api/flight/:id Update flight (admin)
6 PUT /api/flight/mode/:id Change flight active or non active (admin)
7 DELETE /api/flight/:id Delete flight (admin)

Airlane Endpoint

No HTTP Method URL Operation
1 GET /api/airline Get all airline (admin)
2 GET /api/airline/:id Get detail airline (admin)
3 POST /api/airline Create airline (admin)
4 PUT /api/airline/:id Update airline (admin)
5 PUT /api/airline/mode/:id Change status airline active or non active (admin)

City Endpoint

No HTTP Method URL Operation
1 GET /api/city Get all city (admin)
2 GET /api/city/public Get all city (user)
3 GET /api/city/detail/:cityId Get detail city
4 POST /api/city Create city (admin)
5 PUT /api/city/:cityId Update city (admin)
6 PUT /api/city/status/:cityId Change status city active or non active (admin)

Country Endpoint

No HTTP Method URL Operation
1 GET /api/country Get all country (admin)
2 GET /api/country/:countryId Get detail country
3 POST /api/country Create country (admin)
4 PUT /api/country/:countryId Update country (admin)
5 PUT /api/country/status/:countryId Change status country active or non active (admin)

Booking Endpoint

No HTTP Method URL Operation
1 GET /api/booking Get all booking (admin)
2 GET /api/mybooking Get all my booking (user)
3 GET /api/booking/:bookingId Get detail booking (admin)
4 GET /api/booking/byuser/:bookingId Get detail booking (user)
5 POST /api/booking Create booking (user)
6 PUT /api/booking/payment/:bookingId Update booking payment (user)
7 PUT /api/booking/status/:bookingId Change booking active or non active (admin)

ankasa-ticketing-backend's People

Contributors

altrawan avatar rifanhidayatulloh avatar janexmgd avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.