Skip to content

Repository files navigation

Encore

Book live entertainment — musicians, DJs, comedians, and more.

What's public vs. private

Public (no login) Requires account
Home, performer search, performer profiles Dashboard
Sign up / log in Bookings, profile editing, chat
Terms Payments & admin tools

Only /dashboard/* is login-protected. Everything else is already a public website.

Local development

npm install
cp .env.example .env
npx prisma migrate dev
npm run dev

Open http://localhost:3000.

Deploy publicly (Docker)

Encore uses SQLite and local file uploads, so it needs a host with persistent storage (not plain Vercel serverless). Docker works on Railway, Render, Fly.io, or any VPS.

1. Set secrets

cp .env.example .env

Generate a strong AUTH_SECRET:

openssl rand -base64 32

2. Run with Docker Compose

docker compose up --build

Your site is live at http://localhost:3000. On a cloud server, use that machine's public IP or domain on port 3000 (or put Caddy/nginx in front for HTTPS).

3. Deploy to Railway (recommended)

  1. Push this repo to GitHub.
  2. Create a project at railway.app.
  3. New → GitHub repo → select Encore.
  4. Add a volume mounted at /data.
  5. Set environment variables:
    • AUTH_SECRET — random secret string
    • DATABASE_URLfile:/data/dev.db
    • NODE_ENVproduction
  6. Railway will detect the Dockerfile and deploy.
  7. Under Settings → Networking, generate a public domain.

Optional Stripe vars: STRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRET, NEXT_PUBLIC_APP_URL (your Railway URL).

4. After deploy

  1. Visit your public URL.
  2. Sign up as a performer and complete your profile.
  3. Sign up as a customer (separate email) to test booking.

Scripts

Command Description
npm run dev Local dev server
npm run build Production build
npm run db:migrate Dev migrations
npm run db:migrate:deploy Production migrations
npm run account:reset-password -- email newpass Reset a password locally

Stack

  • Next.js 16, React 19, Tailwind CSS 4
  • Prisma + SQLite
  • Stripe (optional)
  • JWT session cookies

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages