Poc stack involving caching resources from PokeApi and running simple queries against it using .NET 6.0, MongoDB, and React as the tech stack.
In the interest of being OS agnostic, local dev setup scripts are written in Python.
First, make sure the following are installed:
From the repository root directory, run python start.py and select the first (1) option from the menu. This will:
- Run a bash script in a docker container to cache bulk data from PokeApi repo to a dedicated poke-data volume.
- Build .env files for each project using the default values.
- Start separate Redis and MongoDB docker containers with empty volumes.
- Run PokeLoader in a docker container using the poke-data volume, which will then mount the data into both the Redis Cache and MongoDB Database.
- Start the PokeQuery backend Rest API project.
- Start the poke-query frontend React app.
- Open the web app in the default web browser (
http://localhost:5173).