This MERN Movie Saver App was created for a university hackathon to save movies from Beat Film. The app allows users to create accounts, search for movies, and save their favorite movies to a personal list.
- User authentication (register and login)
- Search for movies by title
- View movie details (title, year, director, plot)
- Save movies to a personal list
- Remove movies from personal list
- MongoDB
- Express
- React
- Node.js
To install the MERN Movie Saver App, please follow the steps below:
- Clone the repository to your local machine
- Navigate to the root directory of the project in your terminal
- Run
npm install
to install the server-side dependencies - Navigate to the client directory by running
cd client
- Run
npm install
to install the client-side dependencies - Navigate back to the root directory by running
cd ..
- Create a
.env
file in the root directory and add the following variables:MONGO_URI
: the URI for your MongoDB databaseJWT_SECRET
: a secret string used to sign JSON Web Tokens for user authentication
- Run
npm run dev
to start the server and client concurrently
To use the MERN Movie Saver App, follow these steps:
- Register a new account or log in to an existing account
- Use the search bar to search for movies by title
- Click on a movie to view more details
- Click the "Save" button to add the movie to your personal list
- View your personal list by clicking the "My List" button in the navigation bar
- Remove movies from your personal list by clicking the "Remove" button next to the movie
This project is licensed under the MIT License.