开源的用户管理解决方案,自带前端组件和管理后台。
Go to file
2024-02-28 14:35:30 +01:00
.vscode Move code (initial commit) 2024-02-28 14:35:30 +01:00
apps/nextjs Move code (initial commit) 2024-02-28 14:35:30 +01:00
eslint-configs Move code (initial commit) 2024-02-28 14:35:30 +01:00
packages Move code (initial commit) 2024-02-28 14:35:30 +01:00
.gitignore Move code (initial commit) 2024-02-28 14:35:30 +01:00
package.json Move code (initial commit) 2024-02-28 14:35:30 +01:00
pnpm-lock.yaml Move code (initial commit) 2024-02-28 14:35:30 +01:00
pnpm-workspace.yaml Move code (initial commit) 2024-02-28 14:35:30 +01:00
README.md Move code (initial commit) 2024-02-28 14:35:30 +01:00
turbo.json Move code (initial commit) 2024-02-28 14:35:30 +01:00

stack

Getting Started

Make sure you have pnpm installed alongside Node v20. Next, ensure you created .env.local files by copying .env in each of the subpackages in the packages folder and filling out the variables. You will need to start a Postgres database; you can do this with the following command:

docker run -it --rm -e POSTGRES_PASSWORD=password -p "5432:5432" postgres

Then:

pnpm install

# Run code generation (repeat this after eg. changing the Prisma schema)
pnpm run codegen

# After starting a Postgres database and filling the corresponding variables in .env.local, push the schema to the database:
pnpm run prisma:server -- db reset

# Start the dev server
pnpm run dev

To do linting and typechecking:

pnpm run codegen

You can also open Prisma Studio to see the database interface and edit data directly:

pnpm run prisma:server -- studio

stack