This repo hosts the web app that uOttahack uses to deliver content to the frontends that hackers, sponsors, volunteers, and mentors will use.
Before getting started, ensure you have the following installed:
- Node.js (v14 or higher)
- npm or Yarn
To install and run the project, follow these steps:
- Next.js
- Clerk for role based Auth ('user' role - hacker, 'admin' role - organzier)
- Role based access [Done]
- Login/Signup + Google auth [Done]
- Home page [Done]
- Next API routing [Done]
- Organizer view/component
- Application component [Done]
- Connect app submit to Vercel KV db...
To install and run the project, follow these steps:
- Clone the repository:
git clone https://github.com/musebe/nextjs-clerk-organizations-rbac-authentication
- Navigate to the project folder:
cd your-project
- Install the dependencies:
npm install
oryarn install
- Start the development server:
npm run dev
oryarn dev
- Create a
.env
file and put in the credentials - Open your browser and visit
http://localhost:3000
to see the application.
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=/