Files
supabase/examples/with-stencil
dependabot[bot] 87ae857e99 Bump jsdom from 16.4.0 to 16.7.0 in /examples/with-stencil
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.4.0 to 16.7.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/16.4.0...16.7.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-25 03:32:41 +00:00
..
2021-05-22 02:30:29 +00:00
2021-05-22 02:30:29 +00:00
2021-05-22 02:30:29 +00:00
2021-05-22 02:30:29 +00:00

Stencil & Supabase Starter

This is a boilerplate for creating a WebApp using Stencil + Supabase + Stencil Store.

Login Page

Features 📋

  • Supabase setup
  • Stencil Store setup
  • Login / Register / Logout functionality (Basic one)
  • Protecting routes (router-guard) that are accessed after login

Getting Started 🚀

To start using this boilerplate, clone this repo to a new directory:

git clone git@github.com:supabase/supabase.git

access the repository:

cd supabase/examples/with-stencil

and run:

npm install

Usage 🚊

Setup Supabase configuration

Please setup Supabase configuration in the file src/config/config.ts:

const supabaseConfig = {
  supabaseUrl: '',
  supabaseKey: '',
};

You can find more about Supabase Client config on the official documentation page.

To start a project, run:

npm run start

To build the app for production, run:

npm run build

To run the unit tests once, run:

npm run test

To run the unit tests and watch for file changes during development, run:

npm run test.watch

Project structure 🗄️

You can check the details of the structure of our project through this file

Contributing 👏

License

MIT ©