Wishlist App
A wishlist application built with SvelteKit, Drizzle ORM, and PostgreSQL.
Prerequisites
- Bun
- PostgreSQL database
Local Development
# Install dependencies
bun install
# Copy environment file
cp .env.example .env
# Edit .env with your DATABASE_URL
# DATABASE_URL=postgresql://username:password@localhost:5432/wishlist
# Set up database
bun run db:push
# Start development server
bun run dev
Visit http://localhost:5173
Docker
docker-compose up -d
docker-compose exec app bun run db:push
Visit http://localhost:3000
Database Commands
bun run db:push- Push schema to database (development)bun run db:generate- Generate migrationsbun run db:migrate- Run migrations (production)bun run db:studio- Open Drizzle Studio
Key Files
src/lib/server/schema.ts- Database schemasrc/lib/server/db.ts- Database connectionsrc/routes/- Pages and API endpointssrc/auth.ts- Authentication configuration.env- Environment variables (copy from.env.example)
Production Build
bun run build
bun run preview
License
AGPL-3.0 - This project may only be used in open source projects.
Description
A selfhostable wishlist web application that lets anonymous and signed in users reserve wishes
Languages
Svelte
57.7%
TypeScript
38.1%
CSS
2.8%
Dockerfile
0.5%
HTML
0.4%
Other
0.5%

