Skip to content

alanshijo/Movie-Ticket-Booking-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Movie Ticket Booking Web App

Open your terminal and run the following command to clone the repository to your local machine:


  git clone https://github.com/alanshijo/Movie-Ticket-Booking-App.git

To run the backend Node application, follow these steps:


  1. Navigate to the Backend Directory: Once the repository is cloned, navigate to the backend directory within the project.

  cd Movie-Ticket-Booking-App/backend

  1. Rename .env.example to .env: Rename the .env.example file to .env. Open the .env file in your preferred text editor. You'll see placeholders for various environment variables, replace the placeholders with your actual configuration values.

  2. Install Dependencies: Run the following command to install all necessary dependencies:


  npm install

This command reads the package.json file in the backend directory and installs all the listed dependencies.

  1. Run the Backend Node Application: After successfully installing the dependencies, start the backend Node application by running:

  npm start

To run the frontend React application, follow these steps:


  1. Navigate to the Frontend Directory: Change your directory to the frontend folder within the project.

  cd Movie-Ticket-Booking-App/frontend

  1. Install Dependencies: Before running the application, you need to install all the necessary dependencies.

  npm install

This command reads the package.json file in the frontend directory and installs all the dependencies listed there.

  1. Start the React Application: With the dependencies installed, you can now start the React application. Run the following command:

  npm start

  1. Access the Application: Open your web browser and navigate to https://localhost:3000