Live demo: https://n3-supabase.netlify.app
- Frontend:
- Nuxt 3 - a Vuejs framework.
- Tailwind for styling and layout.
- Supabase Module for user management and supabase data client.
- Backend:
- app.supabase.io: hosted Postgres database with restful API for usage with Supabase.js.
Make sure to install the dependencies
yarn install
Create a project on Supabase.
In your Supabase project, make sure to create the tasks
table with the following fields:
Create a GitHub Oauth Application on https://github.com/settings/applications/new
With homepage url being http://localhost:3000
For the callback url, please refer to https://supabase.com/docs/guides/auth/auth-github#find-your-callback-url
Then, enable the GitHub Oauth Provider in your Supabase project (Authentication -> Settings):
Go to your supabase project settings, API section and get the project API key and url and fill the .env
with them:
SUPABASE_URL="https://example.supabase.com"
SUPABASE_KEY="<your_key>"
Start the development server on http://localhost:3000
yarn dev
Build the application for production:
yarn build
Checkout the deployment documentation.