This project is a practice for full stack development using Java Spring Boot, React, and MongoDB. The application allows users to browse movies, view movie trailers, and add reviews to movies. It was created by following a tutorial from freeCodeCamp.
- Browse a list of movies
- Watch movie trailers
- Add reviews to movies
- Responsive design for various devices
- React
- Axios (for API calls)
- Java
- Spring Boot
- MongoDB
- Node.js and npm
- Java 11 or higher
- MongoDB
-
Clone the repository:
git clone https://github.com/CharakaMihiranga/movie-web-app.git cd movie-web-app/frontend
-
Install dependencies:
npm install
-
Start the React application:
npm start
-
Clone the repository (if not already done):
git clone https://github.com/CharakaMihiranga/movie-web-app.git cd movie-web-app/backend
-
Configure the application properties:
Edit the
application.properties
file located insrc/main/resources
and add your MongoDB configuration:spring.data.mongodb.uri=mongodb://localhost:27017/movies
-
Build the backend application:
./mvnw clean install
-
Run the Spring Boot application:
./mvnw spring-boot:run
Once both the frontend and backend are running:
- Open your browser and navigate to
http://localhost:3000
. - You can browse through the list of movies, watch trailers, and add your reviews.
This project is licensed under the MIT License. See the LICENSE file for details. 📄