Thanks to visit codestin.com
Credit goes to github.com

Skip to content

josephcarey/swingscore

Repository files navigation

swingscore

swingscore is a full-stack application for scoring west coast swing competitions. It allows contest organizers to add competitors and generate couples, and it allows judges to drag-and-drop couples in order to place them. It then performs the relative placement caluclations and displays the scores and results.

Getting Started

Prerequisites

Before you get started, make sure you have the following software installed on your computer:

Local copy

Clone and/or fork the repo so that you have your own copy on your local machine.

Create database and tables

Create a new PostgreSQL database called swingscore. Open a SQL query within your new database. Locate the database.sql file within the project root, copy the contents into the query, and run it.

If you would like to use the provided test data, locate the testData.sql file and follow the same process.

Development Setup Instructions

  • Run npm install
  • Create a .env file at the root of the project and paste this line into the file:
    SERVER_SESSION_SECRET=superDuperSecret
    
    Then, replace "superDuperSecret" with a random string.
  • Start postgres if not running already by using brew services start postgresql
  • Run npm run server
  • Run npm run client
  • Navigate to localhost:3000

Built With

Acknowledgements

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published