A nodejs database front-end made with Svelte and Svelte Kit. Data and auth supplied by Supabase.
git clone
cd thaibg
npm install
Create an env file at the root folder manually, or run the following code
touch .env.local
Then, add the following environment variables to .env.local
for development
VITE_SUPABASE_URL= YOUR-SUPABASE-URL
VITE_SUPABASE_ANON_KEY= YOUR-SECRET-ANON-KEY
VITE_SITE_URL = YOUR-DEPLOYMENT-WEBSITE
For deployment, use platform specific configuration. For example, if you deploy to heroku, you will need to use the command
heroku config:set VITE_SUPABASE_URL=YOUR-SUPABASE-URL VITE_SUPABASE_ANON_KEY=YOUR-SECRET-ANON-KEY
ANON-KEY
can be accessed at
https://app.supabase.io/project/YOUR-PROJECT-SLUG/settings/api
, or found on website at Settings > API.
Now, you are ready to test via
npm run dev
and monitor at localhost:3000
To be added
See this project's wiki.