Skip to content

PurdueHackers-Old/HackathonStarterKit

Repository files navigation

Hackathon Starter Kit Build Status

Introduction

Hackathon Starter Kit is a boilerplate for creating hackathon websites. It comes with everything you need out of the box so you can focus on creating a beautiful hackathon website.

Included:

  • Authentication / Authorization

  • Registration / Applications

    • Google Cloud Storage for uploading resumes
  • Announcements

    • Can sync with slack channel
  • Checkin System

    • Supports scanning QR Codes
  • Service Worker

    • Push Notifications / Offline Caching
  • Email Service

    • Uses SendGrid
    • Send emails on requests with 500 HTTP codes
  • Fully Tested

    • Integration / End-to-End
  • NOTE: We deliberately chose not to add any styling to allow you to focus mainly on design and user experience rather than implementing features

Development

Prerequisites

Usage with Docker

  • Prerequisites:
    1. yarn web-push generate-vapid-keys
      • Copy the values to "VAPID_PUBLIC" and "VAPID_PRIVATE" in your .env
    2. Edit your .env file in root of the project
      • See backend/config/env-config.js for list of ENVs to modify
  • To start: docker-compose up
  • To stop: 1. Ctrl+C when inside docker-compose up * OR 2. docker-compose down
  • To build: docker-compose build
  • NOTE: All of these commands are available as runnable tasks within VSCode

Usage without Docker

  1. yarn
  2. yarn web-push generate-vapid-keys
    • Copy the values to "VAPID_PUBLIC" and "VAPID_PRIVATE" in your .env
  3. Edit your .env file in root of the project
    • See backend/config/env-config.js for list of ENVs to modify
  4. Make sure MongoDB is running:
    • mongod
  5. yarn dev
  6. Open http://localhost:5000

Technologies used:

Frontend:

Backend: