- Install Docker
- Run
docker compose up
in the root directory - Make sure to update the database from the API by running
dotnet ef database update
in the FamTreeApi folder - The API will be available at
http://localhost:8081
, and the database will be available athttp://localhost:5123
Note that the API is currently set up to run in a docker container. If you want to run the API locally, you will need to
update the connection string in the appsettings.json
file to point to the local database.
- Install dotnet
- Navigate to FamTreeApi folder
- Run
dotnet ef database update
to create the database. - Run
dotnet run
to start the API - The API will be available at
http://localhost:5000
- Install node
- Navigate to FamilyTreeApp folder
- Run
npm install
to install the dependencies - Run
npm start
to start the frontend - The frontend will be available at
http://localhost:3000