yarn
yarn db:start
Copy the .env.local.example
file in this directory to .env.local
(this will be ignored by Git):
cp .env.local.example .env.local
Set the PG_URI
variable in .env.local
to the connection uri of your postgres database.
Set other environment variables related to JWT and allowed user/role. May change in the future once authentication is setup.
You can create, apply and rollback migrations using the scripts in package.json
.
yarn migrate:latest
yarn dev
Your app should now be up and running on http://localhost:4000!
Deploy it to the cloud with Vercel (Documentation).