Skip to content

Search for a TV series and get a heatmap of average IMDb ratings for each episode

Notifications You must be signed in to change notification settings

JanWerder/serieshue

Repository files navigation

SeriesHue

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.

Project setup

  1. Install the .NET Core SDK.
  2. Set up the .NET Core Project:
> dotnet dev-certs https --trust
> dotnet restore
  1. Install Postgres 14 and setup the user according to the appsettings.json.
  2. Run the Migrations.

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

Lessons learned to Production

Install pg_trgm

sudo -u postgres psql --dbname=serieshue

CREATE EXTENSION pg_trgm;

About

Search for a TV series and get a heatmap of average IMDb ratings for each episode

Topics

Resources

Stars

Watchers

Forks