https://github.com/0-vortex/open-sauced-supabase-cron-test
Experimenting with supabase local development for hot.opensauced.pizza
https://github.com/0-vortex/open-sauced-supabase-cron-test
Last synced: about 1 year ago
JSON representation
Experimenting with supabase local development for hot.opensauced.pizza
- Host: GitHub
- URL: https://github.com/0-vortex/open-sauced-supabase-cron-test
- Owner: 0-vortex
- License: mit
- Created: 2022-01-18T17:00:58.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-13T15:23:46.000Z (over 3 years ago)
- Last Synced: 2025-03-27T12:39:15.391Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 662 MB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
π Open Sauced Populate Supabase Testπ
The path to your next Open Source contribution
## π Prerequisites
In order to run the project we need the following software binaries installed on our development machines:
- `node>=16.7.0`
- `npm>=8.0.0`
- `docker>=20.10.12`
- `supabase>=0.18.0`
# π Database commands
### Starting the Supabase Studio
First thing we have to do for [local development](https://supabase.com/docs/guides/local-development) is start the studio locally at [localhost:54321](http://localhost:54321):
```shell
npm run db:start
```
### Make changes
If we are adding a new table structure, first do it visually in the Supabase Studio and test locally.
Check the migration difference with the following command:
```shell
npm run db:changes
```
If everything is fine we can run the following command to apply the changes to the database:
```shell
npm run db:commit add_table_name
```
### Test changes
Simplest way to test the migrations are working is to reset the local database:
```shell
npm run db:reset
```
### Push changes
If everything is fine we can push the changes to the remote database:
```shell
npm run db:push
```
# π Supabase structure
Click the image to see the schema diagram full documentation.
[](./supabase/diagrams/README.md)
# π€ Contributing
We encourage you to contribute to Open Sauced! Please check out the [Contributing guide](https://docs.opensauced.pizza/contributing/introduction-to-contributing/) for guidelines about how to proceed.

## π Community
Got Questions? Join the conversation in our [Discord](https://discord.gg/U2peSNf23P).
Find Open Sauced videos and release overviews on our [YouTube Channel](https://www.youtube.com/channel/UCklWxKrTti61ZCROE1e5-MQ).
## π¦ Repository Visualization
[
](./src)
## βοΈ LICENSE
MIT Β© [Open Sauced](LICENSE)