Look at the Nuxt 3 documentation to learn more.
Make sure to install the dependencies:
# pnpm
pnpm install
Start the development server on http://localhost:3000
pnpm run dev
Build the application for production:
pnpm run build
Locally preview production build:
pnpm run preview
Check out the deployment documentation for more information.
In order to have the authorisation and the persistence running you are going to need a .env
file on root level which should contain the following values:
- SUPABASE_URL
- SUPABASE_KEY
- DATABASE_URL
The ORM has been initialised with the command npx prisma init
. More information regarding the postgres models can be found within the prisma
directory.
Whenever there is a change or a new model needs to be added, we can update the db by running npx prisma db push
.
In case you encounter any weird db connection issues see: related issue.