Skip to content

Latest commit

 

History

History
78 lines (53 loc) · 1.37 KB

README.md

File metadata and controls

78 lines (53 loc) · 1.37 KB

Cineaura

Cineaura is a full-stack website for managing cinemas, featuring an authentication and booking system.

Description

The Cineaura website offers several features, including:

  • User Authentication: Registration and login for users/admins
  • Ticket Booking: System for selecting movies, showtimes
  • Movie Listings: Display of available movies with details like plot, cast.

Requirements

To run the project, make sure you have the following prerequisites:

Installation

  1. Clone the repository:
git clone https://github.com/Picred/cineaura.git
  1. Install the dependencies:
cd backend
npm install
cd frontend
npm install
# Create the database
sudo mysql < backend/src/db/createDb.sql

Run

Build the frontend:

cd frontend
npm run build

Start the server:

cd backend
npm start

Access the website at http://localhost:8080 in your browser.

Development

If you want to edit the code, you can run the development server:

Start both the frontend and backend servers with hot-reloading (Uses nodemon):

cd frontend
npm run dev
  1. Start the backend server:
cd backend
npm run dev