Skip to content
REST API to access D&D 5th Edition SRD database
JavaScript HTML CSS Dockerfile
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Move everything to src folder (#48) Jan 14, 2020
.eslintrc.json Surely, you Jest (#38) Jan 8, 2020
.gitignore separated all routes from main server file Dec 21, 2016
.prettierrc Add in Prettier (#37) Jan 8, 2020
.travis.yml New Year Cleanup Omnibus (#43) Jan 12, 2020
CHANGELOG.md Switch queries to be case insensitive (#47) Jan 14, 2020
Dockerfile Add Docker for Heroku and bump security versions (#19) Dec 31, 2019
README.md Add docker compose and update README and changelog (#45) Jan 10, 2020
docker-compose.yml New Year Cleanup Omnibus (#43) Jan 12, 2020
heroku.yml Add Docker for Heroku and bump security versions (#19) Dec 31, 2019
jest.config.integration.js New Year Cleanup Omnibus (#43) Jan 12, 2020
jest.config.js New Year Cleanup Omnibus (#43) Jan 12, 2020
jest.config.unit.js
package-lock.json
package.json Move everything to src folder (#48) Jan 14, 2020

README.md

5e-srd-api

Build Status Heroku

REST API to access D&D 5th Edition SRD API

Talk to us on Discord!

How to Run

You can make sure you have the latest version of the database by running:

docker-compose pull

Then run it with docker-compose:

docker-compose up --build

Make API requests by using the root address: http://localhost:3000/api/

You should get a response with the available endpoints for the root:

{
  "ability-scores": "/api/ability-scores",
  "classes": "/api/classes",
  "conditions": "/api/conditions",
  "damage-types": "/api/damage-types",
  "equipment-categories": "/api/equipment-categories",
  "equipment": "/api/equipment",
  "features": "/api/features",
  "languages": "/api/languages",
  "magic-schools": "/api/magic-schools",
  "monsters": "/api/monsters",
  "proficiencies": "/api/proficiencies",
  "races": "/api/races",
  "skills": "/api/skills",
  "spellcasting": "/api/spellcasting",
  "spells": "/api/spells",
  "startingequipment": "/api/startingequipment",
  "subclasses": "/api/subclasses",
  "subraces": "/api/subraces",
  "traits": "/api/traits",
  "weapon-properties": "/api/weapon-properties"
}

Data Issues

If you see anything wrong with the data itself, please open an issue or PR over here.

Contributing

  • Fork this repository
  • Create a new branch for your work
  • Push up any changes to your branch, and open a pull request. Don't feel it needs to be perfect — incomplete work is totally fine. We'd love to help get it ready for merging.
You can’t perform that action at this time.