Next Steps

Step 1: Run project

cd MyCoolApi
docker-compose up --build

Excuting database migrations requires the installation of the dotnet ef CLI as a global tool.

Use the following command to install dotnet ef:

dotnet tool install --global dotnet-ef

Step 2: Create New Migration

Run the following commands to setup migrations. You can learn more about the migration commands on the migrations reference.

frontier migrate new

Follow the on-screen instructions. You will be asked to enter:

  1. The name of the migration.
  2. The Docker container running the API.

Step 3: Apply Migration

frontier migrate up

Follow the on-screen instructions. You will be asked to enter:

  1. The Docker container running the API.

More

From here you can perform multiple other actions but a good next step is to explore the cli commands.