Giter Site home page Giter Site logo

martinson-r / tabletopr Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 3.13 MB

Tabletopr-Groupfinder is an app that connects tabletop RPG hosts with potential players.

Home Page: https://tabletopr-groupfinder.herokuapp.com

JavaScript 95.70% HTML 0.50% CSS 3.79%

tabletopr's Introduction

Tabletopr

Tabletopr-Groupfinder is an app that connects tabletop RPG hosts with potential players.

tabletopr-groupfinder.herokuapp.com

Built With

Prerequisites

  • Node.js
  • Node Package Manager (NPM)
  • PostgreSQL

Installation

  1. Clone the repo:
    git clone https://github.com/martinson-r/Tabletopr.git
  2. cd to the root project directory and npm install:
    npm install
  3. cd into the frontend and backend folders, respectively, and npm install
  4. Log into PostGreSQL and create a user with a secure password and database creation privileges:
    create user tabletopr_app with password *a secure password of your choice* createdb
  5. Following the .env.example file, create a .env file with your chosen username, password, and a database name (such as tabletopr)
  6. Generate a JWT secret key using the Node repl
    node
    require("crypto").randomBytes(32).toString("hex");
    .exit
  7. Create the database:
    npx dotenv sequelize db:migrate
  8. Seed the database:
    npx dotenv sequelize db:seed:all
  9. Open separate terminals and start the front end and back end (you must start them both):
    npm start
  10. Navigate to localhost:3000

Contact

Rihana Martinson - [email protected] Project Link - https://github.com/martinson-r/Tabletopr

tabletopr's People

Contributors

martinson-r avatar

Stargazers

Courtney Newcomer avatar Thanh Nguyen avatar Michelle Yi (she/her) avatar Anna Bullard avatar Nicholas Bierman avatar

Watchers

 avatar

tabletopr's Issues

Websockets are connecting multiple times

Private Message sockets ae set to connect basically when the page is rerendered, which is... not ideal. Set up useState & useEffect that connects them when there is a recipient and the websocket's id is not null.

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.