Skip to content

psd401/psd-app-template

Repository files navigation

Enterprise Next.js Template

A modern, production-ready template for building internal enterprise applications with Next.js 14+, featuring:

Features

  • Role-based access control
  • Automatic user creation on first sign-in
  • Modern, responsive UI
  • Type-safe database operations
  • Test-driven development setup

Getting Started

  1. Clone the repository

  2. Copy .env.example to .env.local and fill in your environment variables:

    cp .env.example .env.local
  3. Install dependencies:

    npm install
  4. Set up your database:

    npm run db:generate
    npm run db:push
  5. Run the development server:

    npm run dev

Testing

Run the test suite:

npm test

Watch mode:

npm run test:watch

Database Management

  • Generate migrations: npm run db:generate
  • Push schema changes: npm run db:push
  • Open Drizzle Studio: npm run db:studio

Deployment

  1. Set up an AWS Amplify project
  2. Connect your repository
  3. Configure environment variables in the Amplify Console
  4. Deploy!

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published