React Movie Database Demo App
This application was written entirely by ChatGPT, it's using the kinopoiskapiunofficial.tech
API.
Functionality
The application allows users to view the top 100 popular films, search for films by keyword, and get a random film recommendation.
Local Development
To run the application locally, follow these steps:
- Clone the repository to your local machine.
- Install the dependencies by running
npm install
in the project directory. - Rename
.env.example
to.env
and replaceYOUR_API_KEY
with your API key fromkinopoiskapiunofficial.tech
. - Start the development server by running
npm start
. - Navigate to
http://localhost:3000
in a web browser to view the application.
Docker Deployment
To deploy the application using Docker, follow these steps:
- Clone the repository to your local machine.
- Rename
.env.example
to.env
and replaceYOUR_API_KEY
with your API key fromkinopoiskapiunofficial.tech
. - Build the Docker image by running
docker build -t my-react-app .
in the project directory. Replacemy-react-app
with the desired name for your Docker image. - Start a Docker container by running
docker run -d -p 3000:3000 my-react-app
. Replacemy-react-app
with the name of your Docker image. - Navigate to
http://<your-vds-ip>:3000
in a web browser to view the application.