The project of Cinema application, that allows users to easily book seats and manage cinemas.
Development
- Clone or download the repo
- Open project folder in terminal
- Run in your terminal command "docker-compose build" if your are at linux like os you probably need to type "sudo" before
- If the building was successfully completed you can run "docker-compose up"
- Congratulations, probably if everything went ok, you should be able to run in your browser http://localhost:3000/
- Clone or download the repo
- Download, install and run MongoDB Community Server
- Open folder /API
- Make sure you have node v14.9.0 or newer installed, use npm to install:
npm install
- Once the installation is done, you can run the project:
npm start
for production ornpm run dev
for development mode - Open folder /Client
- Open another commandline, use npm to install:
npm install
- Once the installation is done, you can run the project:
npm start
- Open http://localhost:3000/ to view in the browser.
- For the first time you need to register
- After registration you will be automatically redirected to the login panel
- Please login to see all features at navbar
- Create your first movie, click "Add movie", fill in all fields (for image use url) and click create
- Next step is create room layout click "Add room", Enter number of rows, columns (if you want to do breaks between seats count it as a column or rows) , click "Create"
- You have been redirected to the second step, if you click on generated layout you can easily delete seat in this place -After create rooms you can see list of all rooms -Next step is creating a seanse, please click "Add seanse" and chose movie, room, date and fill in hour -Finally your movies are avaible in "Movies" bookmark at navbar to chose seance and book seats, please click on the "Seances" button below the movie
- Chose seance, and click on the seat you want to book (if you miss - Don't worry !, you can click one more again and this seats is being unmarked)