Giter Site home page Giter Site logo

dm_google's Introduction

Dungeon Master Helper

A PERN fullstack web app to help dungeon masters organise their D&D campaign

Table of contents

Requirements

Backend

Frontend

Setup

  • Clone the repository

Backend Setup

  • Download and install Node
  • Install PostgreSQL. See this youtube video for instructions
  • Using the terminal, navigate to the repository directory
  • Install Nodemon globally npm i -g nodemon
  • Navigate to server folder cd server
  • Install dependecies npm install
  • Rename sample.dotenv to .env and enter your own details. NOTE: Do not change the database variable
  • Rename config.sample.sh to config.sh and change "myPostgresqlPassword" to your own password

Optional

  • Download and install Postman for testing

To run the backend

  • On the first install use npm run con-dev. The will create a fresh database and start the server. WARNING If using this command after the first install, any data in the dmgoogle database will be deleted. USE WITH CARE
  • To start the server use npm run server
  • The backend server will be running on http://localhost:5000

Frontend Setup

  • In a separate terminal window or tab
  • From the root directory navigate to the client directory cd client
  • Install dependecies npm install

To run the front end

  • In the client directory run npm run start
  • When ready the browser should open automatically, but if not navigate to http://localhost:3000 in your browser

Credit

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.