Skip to content

Latest commit

 

History

History
74 lines (50 loc) · 2.01 KB

README.md

File metadata and controls

74 lines (50 loc) · 2.01 KB

Dashboard

remix-dashboard-template

A basic dashboard template implemented using Remix and shadcn/ui, designed for quick project startup.

Usage

pnpm dlx create-remix@latest --template dev-templates/remix-dashboard-template

What's included

Development

  • Initial setup:

    pnpm i
  • Setup .env

    NODE_ENV=development
    DATABASE_URL=file:./dev.db
    SESSION_SECRET=e33b3bfc-4c8c-41a3-b6fc-83a9905b90c8
  • Initial prisma generate:

    pnpm run generate
  • Migrate and Seed Database:

    pnpm run migrate
    pnpm run seed
  • Start dev server:

    pnpm dev

This starts your app in development mode, rebuilding assets on file changes.

The database seed script create a new admin user you can use to get started:

  • Username: admin
  • Password: admin

Environment variables

  • NODE_ENV production / development
  • DATABASE_URL Prisma's Connection URL format description. Connection URLs
  • SESSION_SECRET Secrets used for SESSION encryption. use random password generator to. Password Generator