Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Ignishky/mtg-collection

Repository files navigation

MTG-COLLECTION

Lines of Code Coverage Build

Prerequisite

  • Java 17
  • Docker 20.10

Build

All the generation is done with the wrapped gradle.

./gradlew build

Run

Start a mongo container

docker run -p 27017:27017 mongo:5.0.3

TODO: Use a volume to persist data between run

Start the server

java -jar build/libs/mtg-collection-0.0.1-SNAPSHOT.jar 

Docs

[Swagger](http://localhost:8080/sets)

Init

  1. Loading of cards blocks from Scryfall into the mongo container
curl -X PUT 'http://localhost:8080/sets'
  1. Get all blocks from Mongo
curl -X GET 'http://localhost:8080/sets'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published