Movie Gold is a full stack web application designed to provide information about movies, similar to IMDB. The application is built using Spring Boot and MongoDB for the backend, and React for the frontend.
- Browse a list of movies with detailed information.
- Search for movies by title, genre, or year.
- View movie details including synopsis, cast, and ratings.
- User authentication and authorization.
- Add, edit, and delete movie entries (admin functionality).
Movie Gold is built with the following technologies:
- Spring Boot: A Java-based framework used to create the backend RESTful APIs.
- MongoDB: A NoSQL database used for storing movie data.
- React: A JavaScript library for building user interfaces.
- Axios: For making HTTP requests from the frontend to the backend.
-
Clone the repository:
git clone https://github.com/imksprateek/movie-gold-fullstack-web-application.git cd movie-gold/backend
-
Set up MongoDB:
Ensure MongoDB is installed and running on your machine. You can download it from MongoDB Download Center.
-
Configure application.properties:
Edit the
src/main/resources/application.properties
file to set your MongoDB URI and other configuration settings.spring.data.mongodb.uri=mongodb://localhost:27017/moviegold
-
Build and run the backend:
./mvnw clean install ./mvnw spring-boot:run
The backend server will start on
http://localhost:8080
.
-
Navigate to the frontend directory:
cd ../frontend
-
Install dependencies:
npm install
-
Run the frontend development server:
npm start
The frontend server will start on
http://localhost:3000
.
-
Access the application:
Open your browser and go to
http://localhost:3000
to access the Movie Gold application. -
Explore features:
- Browse the list of movies.
- Use the search functionality to find specific movies.
- Click on a movie to view detailed information.
- If you are an admin, use the admin panel to manage movie entries.
We welcome contributions to Movie Gold. To contribute, follow these steps:
-
Fork the repository.
-
Create a new branch:
git checkout -b feature/your-feature-name
-
Make your changes and commit them:
git commit -m 'Add some feature'
-
Push to the branch:
git push origin feature/your-feature-name
-
Create a new Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.