Carl Tibule 34d459cc58 Fixed 403 Forbidden thrown when getting Website metadata
- Add User-Agent to header to prevent 403 Forbidden when downloading webpage strings
- Add Bookmark URL and User Id unique combo constraint
- Add Tag Name and User Id unique combo constraint
2023-03-04 00:37:59 -06:00
2023-01-25 00:06:14 -06:00
2023-01-25 00:06:14 -06:00

YABA: Yet Another Bookmark App

Developer Guides

Running Migrations

When running migrations, .NET seems to be ignoring dependency injection settings. In order to get around this, be sure to add the connection string to the command like. For example, when adding the migration:

    dotnet ef migrations add InitialMigration -p YABA.Data -s YABA.API --context YABABaseContext -- {CONNECTION_STRING_HERE}

When removing last migration:

    dotnet ef migrations remove InitialMigration -p YABA.Data -s YABA.API --context YABABaseContext -- {CONNECTION_STRING_HERE}

When applying migrations:

    dotnet ef database update -p YABA.Data -s YABA.API -c YABABaseContext -- { CONNECTION_STRING_HERE }

As per the documentation on MSDN:

The -- token directs dotnet ef to treat everything that follows as an argument and not try to parse them as options. Any extra arguments not used by dotnet ef are forwarded to the app.

Description
Yet Another Bookmark App
Readme 2 MiB
Languages
C# 52%
JavaScript 46%
Dockerfile 1.1%
HTML 0.9%