A simple web application for music bands or artists to plan and visualize their concerts on an interactive map, and then share it with their fans!
⋆ Next.js 16 ⋆ TypeScript ⋆ Prisma ORM ⋆ Neon (PostgreSQL) ⋆ MapboxGL (to be added) ⋆ TailwindCSS
I'm using PNPM as my package manager of choice. You can use whatever you like.
pnpm install
Create a .env file in the root, and fill the variable values.
# --- Neon ---
# Pooled connection string from Neon's PostgreSQL database
# Don't forget to toggle on "Connection pooling" while copying the connection string, and to include `sslmode=require` and `pgbouncer=true` at the end
DATABASE_URL="postgresql://USER:PASSWORD@HOST/dbname?sslmode=require&pgbouncer=true"
Generate Prisma client:
pnpm prisma generate
Apply all existing migrations from repo:
pnpm prisma migrate deploy
Seed the database:
pnpm tsx ./prisma/seed.ts
pnpm run dev
Then open http://localhost:3000.
GET /api/bands/[slug]
returns band data from the slug parameter. Example slug is "znaki-dymne".
I hate emojis in readme files 💔