This project uses asp.net core with entity framework core and postgresql. For more functionality on the frontend it additionally uses Alpine.js. Below are the steps to get the project running.
- Install the .NET Core SDK.
- Set up the .NET Core Project:
> dotnet dev-certs https --trust
> dotnet restore
- Install Postgres 14 and setup the user according to the appsettings.json.
- Run the Migrations.
Install the Migration Tool
> dotnet tool install --global dotnet-ef
Update database schema:
> dotnet ef migrations add InitialCreate --context SeriesHueContext
> dotnet ef database update --context SeriesHueContext
sudo -u postgres psql --dbname=serieshue
CREATE EXTENSION pg_trgm;