Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ikeohachidi/flibber

An experimental chat app built with react and supabase
https://github.com/ikeohachidi/flibber

react reactjs realtime supabase tailwind

Last synced: 24 days ago
JSON representation

An experimental chat app built with react and supabase

Awesome Lists containing this project

README

        

This is an experimental app built with React and Supabase. I'm just scratching an itch, it may become something... I don't know.
If you're reading this sorry for the lack of a documentation, I'll get to that and also a major refactoring sooner or later.

#### Available scripts as provided by Create React App

**npm start** Runs app in development on port `3000`

**npm test** Launch tests [documentation](https://facebook.github.io/create-react-app/docs/running-tests)

**npm buid** Build app for production [documenation](https://facebook.github.io/create-react-app/docs/deployment)

**npm eject** Once you go eject you can't go back

# Project setup
- Create a project on supabase
- Rename the `.env.example` to `.env`
```
REACT_APP_SUPABASE_URL=""
REACT_APP_SUPABASE_KEY=""
```
The value of `REACT_APP_SUPABASE_URL` should be the url of the supabase project and `REACT_APP_SUPABASE_KEY` is the project API key. Both of these strings can be found at https://app.supabase.com/project//settings/api

- Create SQL tables
Check the `sql_tables.md` file for all SQL statements to create the needed tables.
**Note** These statements haven't been tested properly and so may break

- Create SQL functions
Check the `sql_functions.md` file for all SQL statements to create the needed functions.
**Note** These statements haven't been tested properly and so may break