GitXplorerGitXplorer
f

league-for-good

public
164 stars
104 forks
23 issues

Commits

List of commits on branch master.
Verified
e6257dfa4fc78a90552954c9cd8a1b3d3f5885da

Merge pull request #126 from PatLeong/master

ppaulywill committed 6 years ago
Verified
8092d6b63236f8209eebd56acfc77b2ae9aba814

Merge pull request #103 from domwakeling/archiveGames

ppaulywill committed 6 years ago
Verified
ed8923b93af7c92aa51a0c101aca1e5d5c0bdfbe

Merge pull request #93 from afranco07/add-player-to-roster

ppaulywill committed 6 years ago
Verified
cee2f8bf4bd790157563d0fd92353ed86c3c9cbb

Merge pull request #120 from hcuffy/fix/buttonTouchTap

ppaulywill committed 6 years ago
Verified
a20f1f253d75cd6d19272e2d5e8afefdb0a3fb50

Merge pull request #127 from paulywill/fix/update-npm-audit

ppaulywill committed 6 years ago
Verified
29e99d9176a1cfc6bab267f29053fbaea847346f

Merge pull request #121 from sbtn/documentation-contribute

ppaulywill committed 6 years ago

README

The README file for this repository.

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.

Join Us On Slack!

You can now join us on slack. Get Invite Here

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.

You will want to register Type as Web application, set Authorized JavaScript origins to http://localhost:4000 (if you're running the application locally) and set the Authorized redirect URI to http://localhost:4000/auth/google/callback (this can be set through the Google API Console Dashboard under Credentials if not offered as an option during setup).

You will also need to enable the "Google+ API" on the Google API Console Dashboard - if you forget, Google will display an error message (with a link to the API) the first time you try to log in.

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 - typically mongodb://localhost:27017/your_project_name if your MongoDB is local
    • 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.