Thank you for choosing our Cinema App! Follow these simple steps to get started.
- Make sure you have Node.js installed on your machine.
- You'll need MySQL for the database. You can download it from here.
- You'll also need the Angular CLI. You can install it by running
npm install -g @angular/cli
in your terminal.
Visit the backend repository at https://github.com/michaell027/cinema_backend and download the backend code.
git clone https://github.com/michaell027/cinema_backend.git
Navigate to the downloaded backend folder and locate the initialize_database.sql file. Execute this SQL script in your MySQL database to set up the necessary tables.
Ensure your MySQL server is running. Then, start the backend server.
npm install
npm start
Once the backend is up and running, open a new terminal window, navigate to the Angular project folder, and run the following commands.
npm install
ng serve
- You can log in as an admin using the following credentials:
-
Email: admin@admin.com
-
Password: admin
-
You can log in as a user using the following credentials:
-
Email: michaela@gmail.com
-
Password: michaela
-
Your Cinema App is now ready to use! Open your browser and visit http://localhost:4200 to explore the application.
Enjoy the movie experience! 🎬