mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
| .. | ||
| prisma | ||
| public | ||
| scripts | ||
| src | ||
| .env | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| .npmrc | ||
| mdx-components.tsx | ||
| next.config.mjs | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
N2D4's frontend-starter
Getting started
First, copy the .env file into .env.local and fill in the necessary environment variables.
Then, install the dependencies:
cd the-folder-with-your-project
npm install
Then, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
To re-run the code generation (e.g. after changing the Prisma schema), run:
npm run codegen
You can also access the Prisma CLI:
npm run prisma -- <args-to-prisma-command>