This is a simple React app that displays a list of movies and their details using data from JSON files.
- View a list of movies
- Click on a movie to see its details
- Contact us by sending email
- Clone the repository:
git clone https://github.com/1javid/movie-app.git
- Install dependencies:
npm install
- Run the app:
npm start
- Run JSON servers:
json-server -p 3001 movies.json
andjson-server -p 3002 emails.json
- Open http://localhost:3000 to view it in the browser.
The app will display a list of movies by default. Click on a movie to view its details.
The app uses two JSON files to store data:
movies.json
: contains a list of all movies with their titles, descriptions, genres, and images.emails.json
: contains a list of all emails that have been sent through contact page.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License.