A personal code snippet manager secured with Auth0.
Built for MLH Global Hack Week: GenAI — Auth0 challenge.
- Google login via Auth0
- Save, tag, and search code snippets
- Snippets are private per user
- Instant search and language filtering
- One-click copy
git clone https://github.com/YOUR_USERNAME/devvault
cd devvault
npm install- Go to auth0.com and create a free account
- Applications → Create Application → Single Page Application
- Settings → Allowed Callback URLs:
http://localhost:3000/api/auth/callback - Settings → Allowed Logout URLs:
http://localhost:3000 - Settings → Allowed Web Origins:
http://localhost:3000 - Save changes
cp .env.local.example .env.localFill in your Auth0 credentials. Generate AUTH0_SECRET with:
openssl rand -hex 32npm run dev- Next.js 14 (App Router)
- Auth0 (
@auth0/nextjs-auth0) - Tailwind CSS