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.
Before you get started, make sure you have the following software installed on your computer:
- Node.js
- PostrgeSQL
- Postico (or similar)
Clone and/or fork the repo so that you have your own copy on your local machine.
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.
- Run
npm install - Create a
.envfile at the root of the project and paste this line into the file:Then, replace "superDuperSecret" with a random string.SERVER_SESSION_SECRET=superDuperSecret - Start postgres if not running already by using
brew services start postgresql - Run
npm run server - Run
npm run client - Navigate to
localhost:3000
- React - Front End Web Framework
- React Redux - State Container
- Node.js - Server Runtime Environment
- Express - Back End Framework
- PostgreSQL - Database
- React-Beautiful-Dnd - Used for the judging view
- ...for a full list of dependencies, see
package.json
- Luke Schlangen - LukeSchlangen
- Prime Digital Academy - https://primeacademy.io/