https://github.com/ecelis/roster
Archery tournament registration app
https://github.com/ecelis/roster
Last synced: about 1 year ago
JSON representation
Archery tournament registration app
- Host: GitHub
- URL: https://github.com/ecelis/roster
- Owner: ecelis
- License: isc
- Created: 2021-04-12T20:41:01.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-11-12T18:53:10.000Z (over 3 years ago)
- Last Synced: 2025-02-16T04:44:13.958Z (over 1 year ago)
- Language: JavaScript
- Homepage: roster.vercel.app
- Size: 599 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Roster ArqueriaPRO
## Overview
Registration for archery tournaments and export CSV for load in IANSEO.
## Getting Started
### 1. Clone the repository and install dependancies
```
git clone https://github.com/ecelis/roster.git
cd roster
npm install
```
### 2. Configure your local environment
Copy the .env.local.example file in this directory to .env.local (which will be ignored by Git):
```
cp .env.local.example .env.local
```
#### Database
A MongoDB database is needed to persist user accounts and to support email sign in.
### 3. Start the application
To run your site locally, use:
```
npm run dev
```
To run it it production mode, use:
```
npm build
npm start
```
### 5. Preparing for Production
You must set the `NEXTAUTH_URL` environment variable with the URL of your site, before deploying to production.
e.g. in your `.env.local` file - `NEXTAUTH_URL=https://example.com`
To do this with Vercel, you can use the [Vercel project dashboard](https://vercel.com/dashboard) or their cli via the `vc env` command:
```
vc env add NEXTAUTH_URL production
```
Do not forget to set the environment variables for the Client ID and Client Secret values for all your configured authentication providers in your hosting providers dashboard, i.e. with Vercel as described above.
## License
ISC