GithubHelp home page GithubHelp logo

sannasi / lftc-singles-ladder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from patrivet/tennisclubladder

0.0 0.0 0.0 5.25 MB

Tennis Club Ladder is web application which allows a tennis club to setup and run an internal singles challenge ladder.

Home Page: https://tennis-club-ladder.herokuapp.com/

JavaScript 79.36% CSS 0.55% HTML 3.04% SCSS 17.05%

lftc-singles-ladder's Introduction

LFTC Singles Ladder

Tennis Club Ladder is web application which allows a tennis club to setup and run an internal singles challenge ladder. Players can see who is available to play, send and accept challenges to play, record results and see a filtered list of ladder updates.

See the live app here (See login below for credentials to use)

Created by: Pat Rivet

Screenshots:

Screenshot one

Installation

  • Clone this repo git clone https://github.com/patrivet/TennisClubLadder.git

  • npm install in the client directory.

  • npm install in the server directory.

  • Create a .env file in the server directory and populate with the following:-

    • DB_URL= your mongo database URL (see Database setup)
    • PORT= your server's port number.
    • HOST= your server's hostname.
    • SECRET_KEY= your own chosen secret key (is used to sign access tokens).
  • Create a .env file in the client directory and populate with the following:-

    • REACT_APP_SERVER_URL= URL to your server. Note: Defaults to http://localhost:3001 if not set.
    • REACT_APP_TIMEOUT= Number of minutes a logged in session will last before being timed out. Note: Defaults to 30 minutes if not set.

Database setup:

To use TennisClubLadder, an initial import of dummy data is required. Run the following command, replacing <database_dump directory> with the directory /data/DB_files/

mongorestore -d <database_name> <database_dump_directory>

e.g. mongorestore -d tennis_ladder_db /data/DB_files/

Login:

The following credentials can be used to login:- username: [email protected] password: ladder123

Login with any other user by following the same format as above - i.e. combine with their first and last names, with a period inbetween, and use the same password e.g. [email protected]

Tech stack:

Back-end:

lftc-singles-ladder's People

Contributors

patrivet avatar dependabot[bot] avatar sannasi 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.