A Val Town application that alerts followers when new beats, sample packs, or songs are released.
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Database schema setup
│ │ └── queries.ts # Database query functions
│ ├── routes/
│ │ ├── admin.ts # Admin dashboard routes
│ │ ├── releases.ts # Release management routes
│ │ └── subscribers.ts # Subscriber management routes
│ └── index.ts # Main Hono app entry point
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main React app
│ │ ├── AdminDashboard.tsx
│ │ ├── ReleaseForm.tsx
│ │ └── SubscribeForm.tsx
│ ├── index.html # Main HTML template
│ ├── index.tsx # Frontend entry point
│ └── style.css # Custom styles
└── shared/
└── types.ts # Shared TypeScript types
Set environment variables:
ADMIN_PASSWORD: Password for admin accessARTIST_NAME: Your artist nameARTIST_EMAIL: Your email for notificationsThe database will be automatically initialized on first run.
/ to subscribe for notifications/admin to manage releases and view subscribersGET /api/releases - Get all releasesPOST /api/releases - Create new release (admin)POST /api/subscribe - Subscribe for notificationsGET /api/subscribers - Get subscriber count (admin)