This is a short description of a booking ticket for a cinema using the semaphore function to prevent overbooking.
To install the project, follow these steps:
- Clone the repository:
git clone https://github.com/Azutech/Grad-Cali
- Change to the project directory:
cd project
- Install the dependencies:
npm install
- Run the project:
npm start
- Node.js: A JavaScript runtime environment.
- Express.js: A web application framework for Node.js.
- MongoDB: A NoSQL database for storing user and booking data.
- Mongoose: An Object Data Modeling (ODM) library for MongoDB.
- Jest: A testing framework for JavaScript.
- TypeScript: A typed superset of JavaScript.
To contribute to the project, you can:
- Fork the repository
- Create a new branch:
git checkout -b feature-name
- Make your changes and commit them:
git commit -m "Add feature-name"
- Push to your branch:
git push origin feature-name
- Create a pull request
-The app was deployed using the railway. Find the link Here
- GET /api/cinema/oneMovie/:Id: Gets the one movie.
- GET /api/cinema/allmovies: Get all the movies.
- POST /api/cinema/newMovies: Posts new movies.
- POST /api/cinema/booking/:Id: Unbook tickets.
Click this link to get the full API Documentation
[MIT] () The project is licensed under the MIT license.
Copyright (c) [2023] [EmmanuelOnugha]