This subfolder is a top-level Next.js app for the front-end and webserver.
This was started using the Next.js Postgres + Prisma template.
It uses a Vercel Postgres DB as the storage, and Prisma as the ORM layer in between.
The front-end uses Mantine as the component library, with Tabler icons.
First, you need a copy of the environment variables; these should go into
.env
and should match the format of .env.sample.
To run this locally, using the package manager of the choice (in this
example I'll use pnpm
), you should install the dependencies then run:
pnpm dev
for rapid development, or
pnpm build
pnpm start
to test the production build.
For changes to the prisma schema, pnpm build
will also commit those.