Skip to content

Setup

my.awesomeBible is a Nuxt app that uses Supabase as its database.

Requirements

You will need:

Supabase project setup

The first thing we do is set up the Supabase project. The first step is to set the name of the project, a database password, the region and the price tariff.

Then the SUPABASE_URL and the SUPABASE_KEY must be entered into the .env file in the root directory of the project.

For example, a .env file would look like this:

SUPABASE_URL="https://abcdefgxyz.supabase.co"
SUPABASE_KEY="<your_key>"

The last thing we have to do is to activate at least Email Auth in the Supabase project under “Authentication” and then “Providers”.

Nuxt Setup

Now we can run (p)npm install in the folder we cloned my.awesomeBible into and then run npm run dev to start the dev server.

CommandAction
npm installInstalls dependencies
npm run devStarts local dev server at localhost:3000
npm run buildBuild your production site to ./output/
npm run previewPreview your build locally, before deploying