This app allows users to make reservations for a movie by choosing seats, modifying/confirming corresponding tickets in cart and purchasing them via secure payment page.
The app was originally built and is available Live on Glitch
- Chosen seats get secured for 5 minutes, so user had time to purchase them
- If chosen tickets were not purchased, seats will unsecure automatically after short time
- Data transferred between components by using React Context
- Secure payment page built with Stripe
- React.js
- SaSS
- Node/Express
- MongoDB
- Stripe.js
$ git clone https://github.com/ruslan-akhm/ticket-reservation-page.git
$ cd ticket-reservation-page
$ npm install
$ npm start
Server will set up on port 3001 and app will start on port 3000.
Make sure to provide .env file in root folder with following variables:
- SECRET (MongoDB database credentials in format mongodb+srv://:@cluster...)
- STRIPE_KEY (stripe public key)
- SECRET_STRIPE_KEY (stripe secret key)
Ruslan Akhmetshin