Skip to content

Repository files navigation

DevVault

A personal code snippet manager secured with Auth0.

Built for MLH Global Hack Week: GenAI — Auth0 challenge.

Features

  • Google login via Auth0
  • Save, tag, and search code snippets
  • Snippets are private per user
  • Instant search and language filtering
  • One-click copy

Setup

1. Clone and install

git clone https://github.com/YOUR_USERNAME/devvault
cd devvault
npm install

2. Create Auth0 app

  1. Go to auth0.com and create a free account
  2. Applications → Create Application → Single Page Application
  3. Settings → Allowed Callback URLs: http://localhost:3000/api/auth/callback
  4. Settings → Allowed Logout URLs: http://localhost:3000
  5. Settings → Allowed Web Origins: http://localhost:3000
  6. Save changes

3. Configure environment

cp .env.local.example .env.local

Fill in your Auth0 credentials. Generate AUTH0_SECRET with:

openssl rand -hex 32

4. Run

npm run dev

Open http://localhost:3000

Tech Stack

  • Next.js 14 (App Router)
  • Auth0 (@auth0/nextjs-auth0)
  • Tailwind CSS

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages