Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.75 KB

README.md

File metadata and controls

53 lines (35 loc) · 1.75 KB

uOttaHack Sponsor Portal

This repo hosts the web app that uOttahack uses to deliver content to the frontends that hackers, sponsors, volunteers, and mentors will use.

Screenshot 2023-12-03 at 10 06 30 PM Screenshot 2023-12-04 at 12 53 38 AM

Prerequisites

Before getting started, ensure you have the following installed:

  • Node.js (v14 or higher)
  • npm or Yarn

Tech Stack

To install and run the project, follow these steps:

  1. Next.js
  2. Clerk for role based Auth ('user' role - hacker, 'admin' role - organzier)

Next setps:

  1. Role based access [Done]
  2. Login/Signup + Google auth [Done]
  3. Home page [Done]
  4. Next API routing [Done]
  5. Organizer view/component
  6. Application component [Done]
  7. Connect app submit to Vercel KV db...

Installation

To install and run the project, follow these steps:

  1. Clone the repository: git clone https://github.com/musebe/nextjs-clerk-organizations-rbac-authentication
  2. Navigate to the project folder: cd your-project
  3. Install the dependencies: npm install or yarn install
  4. Start the development server: npm run dev or yarn dev
  5. Create a .env file and put in the credentials
  6. Open your browser and visit http://localhost:3000 to see the application.

.env File Configs

NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key CLERK_SECRET_KEY=your_clerk_secret_key NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/ NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/