Skip to content

Repository files navigation

Next Action Stack

Nextjs stack based on server component and server action

Stack

  • NextJS 14
  • TailwindCSS and ShadcnUI
  • next-safe-action
  • prisma
  • lucia
  • Playwright

Requirement

  • Node v20
  • pnpm v8
  • postgresql v14

Instalation (development)

  1. Install depedency pnpm install
  2. Copy .env.example to .env fill based on your configuration
  3. Migrate database pnpm run db:migrate
  4. Run server pnpm run dev
  5. Open http://localhost:3000 with your browser to see the result.

Testing

  • install playwright depedencies pnpm dlx playwright install
  • testing pnpm run test:e2e or test in debug mode pnpm run test:e2edebug

Deployment

  1. Install depedency pnpm install
  2. Copy .env.example to .env fill based on your configuration
  3. Migrate database pnpm run db:migrate
  4. Build project pnpm run build
  5. Run project pnpm run start

About

Nextjs stack based on server component and server action

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages