Cinema Paradiso is a Rotten Tomatoes-like website that allows users to obtain information on movies and TV shows.
Development environment
- Frontend: Angular 2, Bootstrap
- Backend: Spring Boot, Spring MVC, Hibernate, MySQL
Developers: Melanie Lin, Bin Zhou
This project requires Node.js v6+ and Angular CLI v1.7.4+ to run the frontend, and python v3.0 to set up the database.
To set up the backend environment, open ./cinema-paradiso-backend/pom.xml
as project in IntelliJ. Run CinemaParadisoApplication.java
.
To set up the database, create a database called cinema_paradiso
in MySQL, and enter your database username and password in backend's configuration file application.yml
line 5 and 6. Then, run the following command to import the data (make sure your backend is running). This process will take approximately 5 minutes.
$ python3 database/add_movie_json.py
To set up the frontend environment, install the following dependencies.
$ cd cinema-paradiso-frontend
$ npm install
$ npm install -g @angular/cli
then, run
$ ng serve
Finally, open up your favorate browser, and go to http://localhost:4200/
See our use case list and feel free to contribute!