JanWerder / serieshue

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:SCSS 79.3%Language:C# 13.8%Language:HTML 5.5%Language:CSS 0.7%Language:JavaScript 0.6%