๐ง A personal learning management app for organizing AI-related resources
A beautiful, personal learning management app for organizing AI-related resources with a todo-style workflow.
undefinedBuilt with goose in under 30 minutes from a single prompt! ๐ชฟโจ
# Clone the repository
git clone <your-repo-url>
cd ai-learning-hub
# Install dependencies
npm install
# Start development server
npm run dev
Open http://localhost:3000 in your browser.
Create a .env.local file:
# Supabase connection
NEXT_PUBLIC_SUPABASE_URL=your-supabase-url
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=your-supabase-key
# App password for authentication
APP_PASSWORD=your-secure-password
# Session secret for cookie signing
SESSION_SECRET=your-random-secret-key
This project uses Playwright for E2E testing with a separate test database.
.env.test.local file with your test database credentials:NEXT_PUBLIC_SUPABASE_URL=your-test-supabase-url
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=your-test-supabase-key
APP_PASSWORD=your-test-password
SESSION_SECRET=your-test-secret
npm run seed:test
# Run all tests
npx playwright test
# Run tests in UI mode
npx playwright test --ui
# Run specific test file
npx playwright test tests/seed.spec.ts
Run the app with the test database for design/development purposes:
npm run dev:test
This starts the app on port 3001 using the test database, so you can work with sample data without affecting production.
| Script | Description |
|---|---|
npm run dev |
Start dev server on port 3000 with production database |
npm run dev:test |
Start dev server on port 3001 with test database |
npm run seed:test |
Seed test database with sample resources and ideas |
npm run build |
Build for production |
npm run lint |
Run ESLint |
Push your code to GitHub
Connect your repo to Netlify
Set environment variables in Netlify dashboard:
APP_PASSWORD: Your chosen passwordSESSION_SECRET: A random string for session securityDeploy! Netlify will automatically build and deploy
npm run build
ai-learning-hub/
โโโ src/
โ โโโ app/
โ โ โโโ api/ # API routes
โ โ โโโ login/ # Login page
โ โ โโโ page.tsx # Main dashboard
โ โโโ components/
โ โ โโโ ui/ # shadcn components
โ โ โโโ Dashboard.tsx
โ โ โโโ ResourceCard.tsx
โ โ โโโ AddResourceModal.tsx
โ โ โโโ NotesModal.tsx
โ โ โโโ ContentIdeas.tsx
โ โโโ lib/
โ โโโ auth/ # Authentication
โ โโโ db/ # Database setup & schema
โโโ data/ # SQLite database (gitignored)
โโโ netlify.toml # Netlify configuration
Edit src/lib/db/schema.ts to add new resource categories.
Modify the Tailwind classes in component files or update globals.css.
MIT License - feel free to use this for your own learning journey!
Built with ๐ for AI learners everywhere
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.