Skip to content

tl27863/movieticket-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Movie-Project

A Movie Ticket Booking PWA


Stack :

  • MongoDB
  • Express.js
  • Next.js
  • Node.js

Frontend

In Development

Backend

API Endpoint : https://tl27863-movie-project.up.railway.app/

Body : raw/json


Login User

POST api/user/login

{
    "email" : "johndoe@test.net",
    "password" : "JohnDoe"
}

Register User

POST api/user/register

{
    "fullName" : "John Doe"
    "email" : "johndoe@test.net",
    "password" : "JohnDoe"
}

Refresh User Token

POST api/user/token

Required refresh-token cookie

Movie List

GET api/data/movie/list

Required auth-token cookie

Movie Screening

GET api/data/movie/screening

Required auth-token cookie

Screening Ticket

GET api/data/screening/ticket

Required auth-token cookie

User Ticket List

GET api/data/user/ticket

Required auth-token cookie

Purchase Ticket

POST api/data/ticket

{
    "seatNumber": 10,
    "screening": "ScreeningID"
}

About

Movie Ticket Booking PWA (API is down)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published