Giter Site home page Giter Site logo

xulioc / sveltekit-supabase-dashboard Goto Github PK

View Code? Open in Web Editor NEW
134.0 6.0 27.0 1.11 MB

Dashboard inspired by Supabase UI and made with SvelteKit as frontend and Supabase as backend.

Home Page: https://sveltekit-supabase-dashboard.vercel.app/

License: MIT License

JavaScript 4.14% TypeScript 19.04% HTML 0.37% Svelte 70.28% CSS 0.40% PLpgSQL 5.77%
daisyui supabase sveltekit tailwindcss dashboard svelte admin-dashboard vercel sveltejs daisy-ui charts-js chartsjs feather-icons

sveltekit-supabase-dashboard's Introduction

SvelteKit Supabase Dashboard (BETA)

alt text


Simple dashboard inspired by Supabase UI made with SvelteKit as frontend and Supabase as backend.

DISCLAIMER: This project is not production ready. Role based access is not fully tested. Use at your own risk.

Demo

Try different access roles and views here.

Features

  • Supabase inspired UI
  • Multi organization
  • Role based access
  • User creation and deletion in dashboard UI
  • Tables & Charts demo views
  • Demo mode (show hints and disable database updates)

Technologies

TODO

  • Improve development docs
  • Fix TypeScript issues
  • Add more chart views
  • Update supabase-js v2
  • User profiles
  • Light/Dark mode
  • Improve mobile navigation
  • PWA

Installation

Setup Supabase

Create new project at supabase.com and go to Settings->API to check your project URL and API keys

Clone the repo

git clone https://github.com/xulioc/sveltekit-supabase-dashboard.git
cd sveltekit-supabase-dashboard

Setup environment variables

Create a new .env file

cp .env.example .env

Edit your .env file to match your project URL and API keys

# SUPABASE
PUBLIC_SUPABASE_URL="YOUR PROJECT URL"
PUBLIC_SUPABASE_ANON_KEY="YOUR PROJECT ANON KEY"
PRIVATE_SUPABASE_SERVICE_KEY="YOUR PROJECT SERVICE KEY"

Initialize database

Execute sql/init_databse.sql and sql/init_demo_data.sql in Supabase SQL Editor.

Install & run

npm install

To start in development mode:

npm run dev

To build and start in production mode:

npm run build
npm run preview

Deploy

To deploy to Vercel please follow instructions here.

Development

Find more development details here.

Contribute

Feel free to contribute. Issues and Pull Requests are welcome.

License

MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.