Skip to content

An admin panel/dashboard with persistent storage powered by Refine, Supabase, RTK, RTK Query and friends.

License

Notifications You must be signed in to change notification settings

wiseaidev/fine-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Fine Dashboard

Demo on Netlify Demo on Vercel Netlify Status Tag


This refine project was generated with superplate.

πŸ”— Project Demo links

πŸ“™ About

πŸ‘Œ Supported Features

  • Supabase as a backend.
  • Light and dark modes.

Light Mode

Dark Mode

  • A Google Map Widget.

Google Map Widget

  • 2 charts built using rechartjs.

Area Chart

Bar and Lines chars

  • Login and registration using user/password, Google, and Github(Github is working on localhost. Google is not working at the moment).

Socials login

Register Page

Socials Widget

  • Redux Toolkit's createAsyncThunk and RTKQ.

πŸ“™ Description

Fine Dashboard is a pretty advanced dashboard equipped with cool analytics and charts. It is user-friendly, with a clean interface that is easy to navigate. In addition, It is fully responsive meaning that it will work seamlessly on various devices. So whether you're accessing it on a laptop, or mobile, it will look great everywhere.

πŸƒ Participants

  • Solo.

πŸ”₯ Preview

🚧 Set up Project

πŸ› οΈ Prerequisites

  • A Supabase Account.
  • Google Cloud API keys, Cliend ID and secrets.

πŸ‘Ά Getting Started

⚑️ Configure New Supabase Account.

Supabase anon key

REACT_APP_SUPABASE_URL=
REACT_APP_SUPABASE_ANON_KEY=

πŸ—ΊοΈ Goolge API key credentials.

Google Cloud Credentials

  • Click Create credentials > API key.

Create credentials

  • Click Copy to copy your API key for use in our project.

Google API Key

  • Set the following environment variable to your API key:
export REACT_APP_GOOGLE_KEY=

🧒 Adding Google Credentials in Supabase

  • Go to your Google Cloud console, then go to Menu > APIs & Services > Credentials.

  • Click Create credentials > Create OAuth client ID.

  • Click Copy to copy your Cliend key and secret for use in our project.

Cliend Key

  • Go to your Supabase dashboard an enable Google auth provider.

Supabase Google provider

  • Paste the recently copied values into their correspondent places.

πŸ‘Ύ Adding Github Credentials in Supabase

Github developers page

  • Click Generate a new client secret.

  • Click Copy to copy your Cliend ID and key for use in our project.

Github keys

  • Go to your Supabase dashboard an enable Github auth provider.

Supabase Github provider

  • Paste the recently generated values into their correspondent places.

πŸ”¨ Install Project

πŸ” Running the development server.

  • Fork/Clone the repo:
git clone [email protected]:wiseaidev/fine-dashboard.git
  • Open the newly created directory:
cd fine-dashboard
npm install

In order to run the project locally or build for production use, you will need to set the following environment variables to connect with the Supabase backend and google maps:

REACT_APP_SUPABASE_URL=
REACT_APP_SUPABASE_ANON_KEY=
REACT_APP_GOOGLE_KEY=

Now you can run the client:

npm run dev

Navigate to http://localhost:3000 to explore the login page.

βš™οΈ Building for production.

npm run build

πŸ” Running the production server.

npm run start

πŸš€ Deployment

To deploy the client, you will need to set the following environment variables.

REACT_APP_SUPABASE_URL=
REACT_APP_SUPABASE_ANON_KEY=
REACT_APP_GOOGLE_KEY=

πŸ—οΈ Deploy to a Static Hosting Provider

Deploy on Heroku

Deploy on Netlify

🚧 2023 Roadmap

  • Fix Google authentication.
  • Add crud operations for socials widgets.
  • Add support for i18n for the remaining widgets.

πŸ“š Learn More

To learn more about refine, please check out the Documentation

  • REST Data Provider Docs
  • Material UI Docs
  • Inferencer Docs
  • Material UI Light/Dark Mode Docs
  • Material UI Custom Theme Docs
  • Custom Layout Docs
  • React Router Docs
  • Custom Auth Provider Docs
  • i18n Docs

πŸ“ License

This project and the accompanying materials are made available under the terms and conditions of the MIT LICENSE.