Code Monkey home page Code Monkey logo

if4031_m1_ticket_app's Introduction

Ticket App

API Endpoints

Event Endpoints

HTTP Method Endpoint Description
POST {{base_ticket_url}}/v1/event Create New Event
DELETE {{base_ticket_url}}/event/:event_id Delete an event
PUT {{base_ticket_url}}/event/:event_id Update event by id
GET {{base_ticket_url}}/event/:event_id Get Event by id

Seat Endpoints

HTTP Method Endpoint Description
POST {{base_ticket_url}}/seat/1 Create New Seat
GET {{base_ticket_url}}/event/:event_id/seats Get Seat from Event Id

Public Endpoints

HTTP Method Endpoint Description
POST {{base_ticket_url}}/public Send Email

Booking Endpoints

HTTP Method Endpoint Description
POST {{base_ticket_url}}/book/cancel Cancel a booking

Webhook Endpoints

HTTP Method Endpoint Description
POST {{base_ticket_url}}/webhook Webhook

Notes

  • Replace {{base_ticket_url}} with the actual base URL of the Ticket App service.
  • For endpoints with parameters (like :event_id), replace them with actual values when calling the API.

API Docs

https://crimson-meadow-438973.postman.co/workspace/PAT~5e4b20a9-a21e-48b8-8eef-baeb56a29ad7/collection/30701742-215d3d8c-31b2-4ae8-adf4-d23db163d0d6?action=share&creator=30701742&active-environment=30701742-3c17942c-d556-4a3c-b175-2402ac791441

How to Use

  1. Clone or fork this repository
https://github.com/NicholasLiem/IF4031_M1_Ticket_App
  1. Initialize .env file using the template given (.env.example and docker.env.example)
touch .env
touch docker.env
  1. Run docker compose and build
docker-compose up --build

if4031_m1_ticket_app's People

Contributors

nicholasliem avatar bangkitdc avatar nathaniacalista01 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.