Skip to content

Repository files navigation

GIG PATH ♬⋆.˚

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!


Tech Stack ˚.⋆♪

Next.js 16TypeScriptPrisma ORMNeon (PostgreSQL)MapboxGL (to be added)TailwindCSS


Installation ✶♫⋆

I'm using PNPM as my package manager of choice. You can use whatever you like.

Dependencies

pnpm install

Environment Variables

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"

Prisma Setup

Generate Prisma client:

pnpm prisma generate

Apply all existing migrations from repo:

pnpm prisma migrate deploy

Seed the database:

pnpm tsx ./prisma/seed.ts

Running the application

pnpm run dev

Then open http://localhost:3000.


API Endpoints ˚.⋆♪

GET /api/bands/[slug] returns band data from the slug parameter. Example slug is "znaki-dymne".


Why there are no emojis in this file? ✶♫⋆

I hate emojis in readme files 💔

About

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!

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages