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 SaaS structure to Jupiter #35

Draft
wants to merge 21 commits into
base: main
Choose a base branch
from
Draft

Add SaaS structure to Jupiter #35

wants to merge 21 commits into from

Conversation

diego3g
Copy link
Member

@diego3g diego3g commented Feb 5, 2024

This PR aims to introduce a new SaaS structure to Jupiter so it can be used by other companies besides Rocketseat itself.

This PR includes:

  • A complete rewrite from Prisma to Drizzle (so we can access our database inside edge functions and Next.js middleware);
  • New database structure to store users, accounts, sessions and verification tokens (as needed by next auth);
  • A new database table to store companies which will be used to bound videos, tags and upload batches;

⚠️ Caution

Before merging this PR, we'll have to migrate our database properly as we moved from Prisma to Drizzle and fix migration pipeline.

Copy link

vercel bot commented Feb 5, 2024

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

Name Status Preview Comments Updated (UTC)
jupiter ❌ Failed (Inspect) Feb 12, 2024 2:29am

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