Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

devops: supabase #79

Merged
merged 4 commits into from
Apr 15, 2024
Merged

devops: supabase #79

merged 4 commits into from
Apr 15, 2024

Conversation

gaboesquivel
Copy link
Member

@gaboesquivel gaboesquivel commented Apr 15, 2024

related #44 #17

Summary by CodeRabbit

  • New Features
    • Introduced a comprehensive configuration for various services in the Supabase project.
    • Implemented database setup with necessary extensions and privileges.
  • Chores
    • Updated the Supabase URL in the webapp's client configuration.
  • Documentation
    • Added new entries to .gitignore for the Supabase project.

@gaboesquivel gaboesquivel self-assigned this Apr 15, 2024
Copy link

vercel bot commented Apr 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bitcash-faucet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 15, 2024 9:49pm
bitlauncher ❌ Failed (Inspect) Apr 15, 2024 9:49pm

Copy link
Contributor

coderabbitai bot commented Apr 15, 2024

Important

Auto Review Skipped

Review was skipped due to path filters

Files ignored due to path filters (1)
  • bun.lockb is excluded by !bun.lockb

Walkthrough

This update involves integrating and configuring Supabase in a project, replacing previous tools and enhancing database management with new extensions and privileges. It also updates the client configuration to reflect changes in the Supabase URL.

Changes

File Path Change Summary
apps/supabase/.gitignore Introduced entries to ignore files like .branches, .temp, and .env.
apps/supabase/config.toml Added configuration settings for various Supabase features like API, database, and authentication.
.../migrations/20240414235435_... SQL commands to set up database extensions, schemas, and privileges.
apps/webapp/lib/supabase.ts Updated the Supabase URL in the client configuration.

Possibly related issues

🐇✨
In the world of code, where changes are vast,
A rabbit hopped in, making updates fast.
Supabase now reigns, with settings so grand,
From .gitignore to schemas, all is at hand.
Let's hop to success, with no bugs to withstand!
🌟🐾


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

@@ -1,6 +1,6 @@
import { createClient } from '@supabase/supabase-js'

export const supabase = createClient(
'https://dvpusrbojetnuwbkyhzj.supabase.co',
'https://djoktihsrcydlwzegdfa.supabase.co',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using environment variables for the Supabase URL and secret key to enhance security and flexibility.

-  'https://djoktihsrcydlwzegdfa.supabase.co',
-  'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImR2cHVzcmJvamV0bnV3Ymt5aHpqIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MDczNDE2NjcsImV4cCI6MjAyMjkxNzY2N30.bW2V9YKuBkEQzzQh0wDh1LYW2JP3mO4UaxnVoShCW3k'
+  process.env.SUPABASE_URL,
+  process.env.SUPABASE_SECRET_KEY

Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.

Suggested change
'https://djoktihsrcydlwzegdfa.supabase.co',
process.env.SUPABASE_URL,
process.env.SUPABASE_SECRET_KEY

@gaboesquivel gaboesquivel merged commit 66ecb65 into develop Apr 15, 2024
1 of 4 checks passed
@gaboesquivel gaboesquivel deleted the devops-envs-and-supa branch April 15, 2024 21:47
gaboesquivel added a commit that referenced this pull request Apr 15, 2024
* devops: supabase init

* feat: initial db schema migration

* devops: supabase project
gaboesquivel added a commit that referenced this pull request Apr 15, 2024
…ixes (#89)

* chore: fix jsx structure

* chore: fix layout and cls, removed motion

* chore: fix layout and cls, removed motion

* chore: format code

* chore: correct project id on lhci github action

* chore: layout, metadata, navigation adjustments

* wip: project landing page header updates

* wip: project landing page header updates

* wip: project landing page header updates

* wip: project landing page header updates

* wip: mobile nav

* fix: padding in project card

* feat: initial fade in

* fix: adjust padding of project card for mobile

* wip: mobile nav

* feat: mobile nav

* feat: mobile nav

* feat: mobile session

* fix: hide mobile nav trigger

* wip: desktop login and wallet connection flow

* wip: desktop login and wallet connection flow

* chore: updte bun lock

* devops: update lhci, re-enable vconsole on test

* fix: build

* fix: restore blur bg color in auction card

* fix: use same color for title and description

* devops: supabase (#79)

* devops: supabase init

* feat: initial db schema migration

* devops: supabase project

* fix: dark mode color

* fix: build

---------

Co-authored-by: Nathanael Liu <[email protected]>
@AndlerRL AndlerRL mentioned this pull request Apr 16, 2024
gaboesquivel added a commit that referenced this pull request Apr 17, 2024
* docs: update readme

* devops: add github actions (#80)

* devops: add github actions

* chore: update bunlock

* chore: disable eslint action

* devops: supabase (#79)

* devops: supabase init

* feat: initial db schema migration

* devops: supabase project

* chore: slow transitions, layout, cls, remove motion, supa, auth, ui fixes (#89)

* chore: fix jsx structure

* chore: fix layout and cls, removed motion

* chore: fix layout and cls, removed motion

* chore: format code

* chore: correct project id on lhci github action

* chore: layout, metadata, navigation adjustments

* wip: project landing page header updates

* wip: project landing page header updates

* wip: project landing page header updates

* wip: project landing page header updates

* wip: mobile nav

* fix: padding in project card

* feat: initial fade in

* fix: adjust padding of project card for mobile

* wip: mobile nav

* feat: mobile nav

* feat: mobile nav

* feat: mobile session

* fix: hide mobile nav trigger

* wip: desktop login and wallet connection flow

* wip: desktop login and wallet connection flow

* chore: updte bun lock

* devops: update lhci, re-enable vconsole on test

* fix: build

* fix: restore blur bg color in auction card

* fix: use same color for title and description

* devops: supabase (#79)

* devops: supabase init

* feat: initial db schema migration

* devops: supabase project

* fix: dark mode color

* fix: build

---------

Co-authored-by: Nathanael Liu <[email protected]>

* feat: whitepaper

* chore: update navlinks

* chore: close issues

Close #61
Close #54
Close #55
Close #60
Close #62
Close #64
Close #67
Close #69
Close #72
Close #77
Close #78
Close #84
Close #68
Close #63
Close #86
Close #34

Related #89

* chore: udpate whitepaper link

* feat: project data card 1

* feat: improve project hero in project landing

* fix: vertical alignment in cards (#95)

* fix: vertical alignment in cards

* chore: add number

* impr(webapp): adding appName to signatureRequest

* feat(webapp): double table on auciton data card

* feat(webapp): double table on auciton data card

* feat(webapp): double table on auciton data card

---------

Co-authored-by: Gabo Esquivel <[email protected]>
Co-authored-by: Nathanael Liu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant