Making a homepage/blog (again)
Using React/Nextjs and Postgres, served on Vercel.
Postgresql, database url POSTGRES_URL
environment variable at file ./.env.local
.
Run ts-node ./src/db/migrate.ts
to migrate database.
Run kysely-codegen --url POSTGRES_URL
to generate typescript interface for database. It cannot read from env for now.
npm run dev
to start nextjs framework.
npm run cypress:open
to start cypress.