openssl rand -base64 32
to generate a key and add it under NEXTAUTH_SECRET
in the .env file.yarn dx
Requires Docker and Docker Compose to be installed Will start a local Postgres instance with a few test users - the credentials will be logged in the console
AddNEXT_PUBLIC_DEBUG=1
anywhere in your.env
to get logging information for all the queries and mutations driven by trpc.
<user>
, <pass>
, <db-host>
, <db-port>
with their applicable valuesCALENDSO_ENCRYPTION_KEY
(You can use a command like openssl rand -base64 24
to generate one).apps/web/prisma/schema.prisma
)User
model to add a new user record.email
, username
, password
, and set metadata
to empty {}
(remembering to encrypt your password with BCrypt) and click Save 1 Record
to create your first user.New users are set on aTRIAL
plan by default. You might want to adjust this behavior to your needs in theapps/web/prisma/schema.prisma
file.