This project is a web application that allows users to search for movies and view details about them. The project is divided into two parts: the frontend and the backend. The frontend is a React app that uses the Backend API to search for movies and display their details. The backend is an ASP .NET Core Web API that provides the data for the frontend.
You can use docker-compose to run the frontend and backend together. Navigate to the root directory and run the following command:
docker-compose up
After the containers are running, you can navigate to http://localhost:3000
in your browser to see the frontend.
To see the backend API, navigate to http://localhost:5001/swagger/index.html
in your browser.
The backend has a few endpoints that are protected by an API key, which is passed in the Authorization header.
The API key is apisecret
.
To run the frontend, navigate to the MoviesWeb
directory and run the following commands:
npm install
npm start
To run the backend, navigate to the MoviesAPI
directory and run the following commands:
dotnet run