Coder Social home page Coder Social logo

rpongweb / league-for-good Goto Github PK

View Code? Open in Web Editor NEW

This project forked from freecodecamp/league-for-good

1.0 2.0 0.0 1.06 MB

An open source sports league management tool

License: BSD 3-Clause "New" or "Revised" License

JavaScript 98.48% HTML 1.51% CSS 0.02%

league-for-good's Introduction

FCC League-For-Good

This is a free, open-source web application designed to help sports leagues track their player and team stats, and simplify the other day-to-day tasks involved with team management. It was designed to accommodate many popular sports.

Getting Started

Prerequisites

In order for the authorization component of this app to work, it needs to be registered with Google. Here is a helpful walkthrough of that process: (https://developers.google.com/identity/sign-in/web/devconsole-project)

This includes enabling the "Google+ API" on the Google API Console Dashboard.

Steps

  • Fork and clone the repo
  • Run npm install
  • In the root directory, create a .env file and place the following:
    • MONGO_URI = Your database uri
    • GOOGLE_CLIENT_ID = Client id assigned by Google
    • GOOGLE_CLIENT_SECRET = Client secret assigned by Google
    • SESSION_SECRET = Any random string of characters
    • GOOGLE_CALLBACK_URL = http://localhost:4000/auth/google/callback (Use for the callback url in the Google API console)
  • Open a new terminal session and run mongod if mongodb is on the local machine
  • Run npm run dev
  • Navigate to localhost:4000 in your browser

Available Scripts

In the project directory, the following commands are available:

npm install

Installs all the dependencies

npm run dev

Builds the app for development. It is watched by webpack for any changes in the front end.

How to Contribute

We warmly welcome contributions from anyone. Check out our how to contribute section to find out how you can do so.

league-for-good's People

Contributors

makkoli avatar ahstein3521 avatar lanesawyer avatar paulywill avatar ajgingrich avatar bikrambhattacharya avatar renestl avatar satyadeeproat avatar vikramnr avatar

Stargazers

 avatar

Watchers

James Cloos avatar  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.