A demo for NextJS Server Actions
- TypeScript 97.2%
- CSS 1.4%
- JavaScript 0.6%
- Shell 0.5%
- Dockerfile 0.3%
|
|
||
|---|---|---|
| .husky | ||
| .vscode | ||
| app | ||
| contexts | ||
| data | ||
| prisma | ||
| public | ||
| utils | ||
| .env.example | ||
| .eslintrc.json | ||
| .gitignore | ||
| .prettierrc | ||
| .yarnrc.yml | ||
| commitlint.config.ts | ||
| docker-compose.yml | ||
| Dockerfile | ||
| LICENSE | ||
| next.config.mjs | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| tailwind.config.ts | ||
| tsconfig.json | ||
| vercel.json | ||
| yarn.lock | ||
Commands
Copy .env.example to .env
cp .env.example .env
Run database on Docker
docker-compose up
Apply Prisma migrations
yarn migrate
Generate Prisma client
yarn generate
Run the server
yarn dev