Idea based on the Intro tho React + Hooks from CodingGarden
docker compose up
- run the migration for the api database
dotnet ef database update
from the api directory - Add an user in the keycloak instance
You will need a MariaDb instance
docker run -d -p 3306:3306 --name taskdb -e MARIADB_ROOT_PASSWORD=admin bitnami/mariadb
You will need a KeyCloak instance
docker run --name keycloak -p 8080:8080 -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin -e KEYCLOAK_IMPORT=/tmp/realm.json -v /FULL_PATH_TO_REPO/todoapp/infra/realm.json:/tmp/realm.json jboss/keycloak
Within the api directory
- Apply all migrations
dotnet ef database update
- Then run the aplication with
dotnet run
Within the react app directory
- Then run the react app
npm start
Whitin the react-native directory
- Run
npm start
- Run
npx react-native run-android
Icons task by wira wianda from the Noun Project