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

add setup script to add user from the terminal and initial project setup #17

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

Kampouse
Copy link

This pull request introduces significant enhancements to the setup process and dependencies for the project. The changes include adding a new dependency to package.json and implementing a comprehensive setup script for Supabase in setup.ts.

Dependency Update:

  • Added prettier as a new dependency in package.json to ensure consistent code formatting across the project.

Supabase Setup Enhancements:

  • Implemented a new setup.ts script to streamline the setup process for Supabase, including:
    • Importing necessary modules and defining a SupabaseConfig interface.
    • Adding functions to verify type generation, generate types, create a public bucket, prompt user for admin credentials, create an initial user, and log setup summary.
    • Automatically loading environment variables from a .env file if it exists, or starting a new Supabase project and creating the .env file if it does not.
    • Ensuring the database types are up to date and regenerating them if necessary.
    • Providing a user-friendly summary of the Supabase setup process.

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