MTG Card Collection Handler is a website where You can browse through the wise collection of cards released by Wizards, makers of the famous card game Magic: the Gathering.
This repository holds only the server-side code written with C# as an ASP.NET web API.
If You want to interact with it with a nice UI, setup the front-end too.
- ASP.NET Core 3.1
- Entity Framework Core 3.1 with
- PostgreSQL provider
Create a user with a name postgres
and password mksm20
.
Create the necessary database and tables
$ dotnet ef database update
cd
into the MagicApi
subfolder
Start the webserver
$ dotnet run
- Quick search: Search for cards by its name and colors
- Advanced search: Search for cards by its name, colors, type, subtype, minimum and maximum price ($,€) and artist name
- Registration: Password hashed with BCrypt
- Login: Auth with JWT
- Deck creation: Build decks from cards
- Card market: Place to trade cards between users with real money