Git Product home page Git Product logo

dnd-combined's Introduction

Custom Character Sheets

This repository is the home for both the backend and frontend of the website Custom Character Sheets. Built with the purpose of creating an easy to follow guide for building your own Dungeons & Dragons characters for use in the tabletop RPG, and allow for tracking of character progress throughout multiple campaigns. I was inspired to create this website because I am a new player to the game and found the current character building websites to be a little too complex and hard to understand.

Usage

Click on the link in the above section to go to the website (On the unfortunate offchance that the link becomes broken see instructions below on how to run locally). When first using the application you will need to create a login for a new user and then use that information to login. The only functionality currently is saving characters to your account. These characters are very limited in that you can only give them names, races, and classes.

Technologies

Backend built using Node and Express. Database built using PostgresSQL and sequelize. Frontend built using React

Potential Bugs

  • Broken image link often occurs on the edit character page.
  • When testing on my phone the frontend could not connect to the backend. Tested on other networks via laptops and phones and everything ran normally.

Future Functionality

The website is very minimal in terms of functionality currently. I intend to add all the basic features of character building in D&D such as abilities, equipment, spells, hit points and so on. In addition to full character building, I will add a leveling up function users can use to edit their characters and a dice rolling simulator for use in campaigns. There are plans to create different roles for new users such as a DM (Dungeon Master) role. If creating a DM account they would be able to invite other characters into a campaign and have limited control over editing those characters (could change their hit points, steal equipment, etc).

How to run locally

If for whatever reason the link above is down and you wish to run this program locally, fork this repo and clone it into your own folder and follow these steps.

  • First you will need to create a database in postgres named "dnd_character_sheet"

  • You will then need to change the username and password in backend/config/config.json to match your postgres account.

  • You will also need to create a .env file and add the following information.

touch .env
PORT=3001
PG_URI=postgresql://localhost:5432/dnd_character_sheet
SESSION_SECRET=oinwoiinoiw
  • You will need to cd into the backend and run npm install. Then populate the new database with tables using sequelize.
cd backend
npm i
sequelize db:migrate
  • Then install the packages for the frontend.
cd frontend
npm i
nodemon index.js
  • Finally, in a seperate terminal run the front end.
npm start

dnd-combined's People

Contributors

sullivan-william avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.