Nextjs stack based on server component and server action
- NextJS 14
- TailwindCSS and ShadcnUI
- next-safe-action
- prisma
- lucia
- Playwright
- Node v20
- pnpm v8
- postgresql v14
- Install depedency
pnpm install - Copy .env.example to .env fill based on your configuration
- Migrate database
pnpm run db:migrate - Run server
pnpm run dev - Open http://localhost:3000 with your browser to see the result.
- install playwright depedencies
pnpm dlx playwright install - testing
pnpm run test:e2eor test in debug modepnpm run test:e2edebug
- Install depedency
pnpm install - Copy .env.example to .env fill based on your configuration
- Migrate database
pnpm run db:migrate - Build project
pnpm run build - Run project
pnpm run start