Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1.35 KB

README.md

File metadata and controls

25 lines (15 loc) · 1.35 KB

carddb

The mighty new card database of TCG ONE.

Models can be inspected here

Card data is defined in YAML files and placed in data/src/main/resources/cards.

Data in this repository powers the card, set and format data on https://tcgone.net/cards.

The definitions are also served through an API under https://tcgone.net/api/. Examples:

  • https://tcgone.net/api/v1/cards/search?query=bulbasaur
  • https://tcgone.net/api/v1/cards/search?set=bs
  • https://tcgone.net/api/v1/sets
  • https://tcgone.net/api/v1/formats

You are free to use this API for your projects, please contact us in #dev for more information.

Automatic Build and Deployment via Github Actions

When a new commit is pushed to a pull request, build action builds and runs some validations on the changes. These checks must pass in order to allow the code to be merged to master.

When a new commit is pushed to master (i.e. after merging a PR), deploy action builds and deploys the project artifact to our maven repository.

In order to have the card changes show up, you may ask a project contributor to trigger the deploy action of tcgone/front module.