Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/janwerder/serieshue

Search for a TV series and get a heatmap of average IMDb ratings for each episode
https://github.com/janwerder/serieshue

aspnetcore

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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
```

3. Install Postgres 14 and setup the user according to the appsettings.json.
4. 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;