Find a quick overview in the NOTES.md.
Create a postgresql database with
createdb pc
Create a file .env
. Use the following as a starting point
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
DATABASE_URL="postgresql://<username>@localhost:5432/pc?schema=public"
COOKIE_PASSWORD="long_password_at_least_32_characters_long"
Install the dependencies of the web app with
npm install
First, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.
To seed the database run
npx prisma db seed
To run/generate a migration with
npx prisma migrate dev --name <migration_name>
After the migration, update the client with
npx prisma generate
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
This is a Next.js project bootstrapped with create-next-app
.
The favicon and the name "Patent Cockpit" belong to Artemis IPM GmbH.