[English Version Below]
Ce projet a été réalisé dans le cadre du processus de recrutement de l'entreprise Fleet, et utilise l'API de TMDB. Le projet a été réalisé en React.
Le but de l'exercice était d'implémenter l'API de TMDB pour réaliser une interface contenant une recherche de film dans un menu à gauche et capable d'afficher le poster et les caractéristiques du film à droite.
Allez sur le site de TMDB et générez une clé API et un request token. Puis faites :
cp .env_template .envet copiez le request token à la place de xxx.
Il y a 2 méthodes pour déployer l'interface localement :
Pour déployer le site directement avec npm faites :
npm install
npm startet l'interface va apparaître dans votre navigateur.
Sinon vous pouvez déployer le site directement avec Docker si vous voulez éviter les problèmes de dépendances. Faites :
sudo docker build . -t movies
sudo docker run -p 8080:3000 moviesEt le site sera présent à l'adresse http://localhost:8080 .
This project was carried out as part of the recruitment process for the company Fleet, and uses the TMDB API. The project was carried out in React.
The goal of the exercise was to implement the TMDB API to create an interface containing a movie search in a menu on the left and capable of displaying the movie poster and characteristics on the right.
Go to the TMDB website and generate an API key and a request token. Then do:
cp .env_template .envand copy the request token in place of xxx.
There are two methods for deploying the interface locally:
To deploy the site directly with npm, do:
npm install
npm startand the interface will appear in your browser.
Alternatively, you can deploy the site directly with Docker if you want to avoid dependency issues. Do:
sudo docker build . -t movies
sudo docker run -p 8080:3000 moviesAnd the site will be available at http://localhost:8080.
