All Projects → 5e-bits → 5e Srd Api

5e-bits / 5e Srd Api

Licence: mit
REST API to access D&D 5th Edition SRD database

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to 5e Srd Api

Packages
Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
Stars: ✭ 2,957 (+1055.08%)
Mutual labels:  hacktoberfest
Apollo 11
Original Apollo 11 Guidance Computer (AGC) source code for the command and lunar modules.
Stars: ✭ 52,190 (+20286.72%)
Mutual labels:  hacktoberfest
30 Seconds Of Code
Short JavaScript code snippets for all your development needs
Stars: ✭ 89,121 (+34712.89%)
Mutual labels:  hacktoberfest
Laravel Query Builder
Easily build Eloquent queries from API requests
Stars: ✭ 3,083 (+1104.3%)
Mutual labels:  hacktoberfest
Clickhouse
ClickHouse® is a free analytics DBMS for big data
Stars: ✭ 21,089 (+8137.89%)
Mutual labels:  hacktoberfest
Chart.js
Simple HTML5 Charts using the <canvas> tag
Stars: ✭ 55,646 (+21636.72%)
Mutual labels:  hacktoberfest
Ravada
Remote Virtual Desktops Manager
Stars: ✭ 253 (-1.17%)
Mutual labels:  hacktoberfest
Free Programming Books
📚 Freely available programming books
Stars: ✭ 216,030 (+84286.72%)
Mutual labels:  hacktoberfest
Awesome Datascience
📝 An awesome Data Science repository to learn and apply for real world problems.
Stars: ✭ 17,520 (+6743.75%)
Mutual labels:  hacktoberfest
Material Ui
MUI (formerly Material-UI) is the React UI library you always wanted. Follow your own design system, or start with Material Design.
Stars: ✭ 73,739 (+28704.3%)
Mutual labels:  hacktoberfest
Hashie
Hashie is a collection of classes and mixins that make Ruby hashes more powerful.
Stars: ✭ 2,790 (+989.84%)
Mutual labels:  hacktoberfest
Matomo
Liberating Web Analytics. Star us on Github? +1. Matomo is the leading open alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. We love Pull Requests!
Stars: ✭ 15,711 (+6037.11%)
Mutual labels:  hacktoberfest
Awesome Go
A curated list of awesome Go frameworks, libraries and software
Stars: ✭ 72,372 (+28170.31%)
Mutual labels:  hacktoberfest
Docs
User documentation for Knative components.
Stars: ✭ 3,106 (+1113.28%)
Mutual labels:  hacktoberfest
Python
All Algorithms implemented in Python
Stars: ✭ 125,688 (+48996.88%)
Mutual labels:  hacktoberfest
Pareto.js
An extremely small, intuitive and fast functional utility library for JavaScript
Stars: ✭ 254 (-0.78%)
Mutual labels:  hacktoberfest
Hugo
The world’s fastest framework for building websites.
Stars: ✭ 55,899 (+21735.55%)
Mutual labels:  hacktoberfest
Hosting
This is a setup for a Tor based shared web hosting server
Stars: ✭ 254 (-0.78%)
Mutual labels:  hacktoberfest
Ohmyzsh
🙃 A delightful community-driven (with 1900+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
Stars: ✭ 138,057 (+53828.52%)
Mutual labels:  hacktoberfest
Java Design Patterns
Design patterns implemented in Java
Stars: ✭ 71,923 (+27994.92%)
Mutual labels:  hacktoberfest

5e-srd-api

Build Status Uptime Uptime

Discord

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",
  "spells": "/api/spells",
  "starting-equipment": "/api/starting-equipment",
  "subclasses": "/api/subclasses",
  "subraces": "/api/subraces",
  "traits": "/api/traits",
  "weapon-properties": "/api/weapon-properties"
}

Using a local image of 5e Database

If you are working on a feature which requires changes to both this repo, and the 5e-database repo, it is useful to know how to connect the former to the latter for testing purposes. A simple process for doing so is as follows:

  1. In the file docker-compose.yml, you can replace the line image: bagelbits/5e-database with build: [relativePathToDatabaseRepo]. Make sure not to commit this change, as it is intended for local testing only.

  2. Run your branch of 5e-srd-api using the method outlined in the above section of this readme file. So long as there are no transient errors, the API should build successfully, and your changes to both repos should be noticeable.

Data Issues

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

Running Tests

Unit Tests

You can run unit tests locally by using the command: npm run test:unit

Integration Tests

Integration tests need to be ran in the API docker container for them to function properly. In order to run integration tests locally you can use the command: npm run test:integration:local

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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].