Looking for a pokémon? This is the most wondrous lodging to becometh a pokémon master!
-
Make sure you have Docker and Docker Compose installed on your computer.
-
Clone the backend project from this link: sabulous/pokemon-api
-
Clone this project from this link: sabulous/pokemon-shakespeare
-
Rename
env.distfiles as.envin both of the projects. -
Make sure the project folders are at the same level (i.e. within the same parent folder).
-
In your favorite terminal console, browse to
pokemon-shakespearefolder and run the following:docker-compose up --build -
After the build open your favorite browser and go to
http://localhost:3000
- Just type a pokémon name (e.g. Jolteon, Bulbasaur, Mew) and click Search button or press Enter.
-
Run the following commands on terminal:
-
For frontend:
docker exec pokemon-shakespeare_app_1 yarn test
-
For backend:
docker exec pokemon-shakespeare_api_1 npm test