Skip to content

An application for seeing how lucky your dice rolls in a session of D&D are compared to what is expected

Notifications You must be signed in to change notification settings

boudrejp/LuckyRoll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

LuckyRoll

An application for seeing how lucky your dice rolls in a session of D&D are compared to what is expected

Here's a link to the data https://www.kaggle.com/ucffool/dice-d4-d6-d8-d10-d12-d20-images

Development

For the Django Backend, you will be able to utilize docker and docker-compose to get the environment up and running.

# build the docker image
docker-compose build

# For the next steps you'll need  a secret key for the Django API settings.
# Please contact one of the devs about setting up the `SECRET_KEY`

# make the migrations to serialize python classes to models
docker-compose run -e SECRET_KEY=${SECRET_KEY} app sh -c "python manage.py makemigrations"


# Start the Postgresql DB and django backend server
docker-compose up

# now go to interact with api
localhost:8000

Routes

  /api/user/

  /api/campaigns/
  /api/campaigns/<id>/
  
  /api/campaigns/<id>/gamesessions/
  /api/campaigns/<id>/gamesessions/<id>/
  
  /api/dice/
  /api/dice/<id>/
  
  /api/dice/<id>/dicerolls/
  /api/dice/<id>/dicerolls/<id>/

About

An application for seeing how lucky your dice rolls in a session of D&D are compared to what is expected

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published