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
- Navigate to the Backend Directory: Once the repository is cloned, navigate to the backend directory within the project.
cd Movie-Ticket-Booking-App/backend
-
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. -
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.
- Run the Backend Node Application: After successfully installing the dependencies, start the backend Node application by running:
npm start
- Navigate to the Frontend Directory: Change your directory to the frontend folder within the project.
cd Movie-Ticket-Booking-App/frontend
- 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.
- Start the React Application: With the dependencies installed, you can now start the React application. Run the following command:
npm start
- Access the Application: Open your web browser and navigate to
https://localhost:3000