Home

Awesome

<div align="center"> <a href="https://phck.vercel.app/"> <img src="public/images/screenshot.png"> </a> </div> <p></p> <div align="center"> <a href="#-getting-started"> Getting Started </a> <span>&nbsp;❖&nbsp;</span> <a href="#-team"> Team </a> <span>&nbsp;❖&nbsp;</span> <a href="#-overview"> Overview </a> <span>&nbsp;❖&nbsp;</span> <a href="#-features"> Features </a> <span>&nbsp;❖&nbsp;</span> <a href="#%EF%B8%8F-stack"> Stack </a> <span>&nbsp;❖&nbsp;</span> <a href="https://phck.vercel.app" target="_blank"> Deploy ↗︎ </a> </div> </p> <div align="center">

GitHub actions GitHub stars GitHub issues GitHub forks GitHub license

</div>

✌ Team

🛠️ Stack

✨ Features

General:

For the participant:

For the admin:

🪐 Overview

🚀 Getting Started

Project settings:

  1. Clone or fork the repository:
git@github.com:pheralb/project-hackathon.git
  1. Install dependencies with your favorite package manager:
# with npm:
npm install

# with pnpm:
pnpm install

# with yarn:
yarn install

# with ultra:
ultra install

Environment variables:

  1. Create a .env file in the root of the project with the following variables:
# CockroachDB connection string:
DATABASE_URL = ""

# Next-Auth config:
NEXTAUTH_SECRET="" # Generate a random string.
NEXTAUTH_URL="" # Your project url, e.g. http://localhost:3000.

# Github OAuth Provider:
GITHUB_CLIENT_ID=""
GITHUB_CLIENT_SECRET=""

CockroachDB settings:

  1. Create a free cluster.
  2. Create a SQL user.
  3. To connect to the user, copy the connection string and paste it in the .env file, replacing the DATABASE_URL variable.

Github OAuth Provider settings:

  1. Click here to create new Github OAuth app.
  2. Go to "Client secrets" and generate new client secret and and paste it into GITHUB_CLIENT_SECRET env.
  3. Copy the Client ID and paste it into GITHUB_ID env.

Run the project:

  1. Run in your terminal:
# with npm:
npm run dev

# with pnpm:
pnpm run dev

# with yarn:
yarn dev

# with ultra:
ultra dev

and open http://localhost:3000 🚀.

😊 Contributing

<a href="https://github.com/pheralb/project-hackathon/graphs/contributors"> <img src="https://contrib.rocks/image?repo=pheralb/project-hackathon" /> </a> <p></p>

☁ Deploy

🔑 License