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

Make Letterpad Run Serverless in Vercel and PlanetScale #536

Merged
merged 77 commits into from
Jul 30, 2023
Merged

Conversation

abhisaha1
Copy link
Member

@abhisaha1 abhisaha1 commented Jul 8, 2023

Maintaining letterpad is getting a bit expensive for me. For this, I have decided to move the infrastructure to Vercel and use Planet scale to manage mysql db.

  • Planet scale does not allow foreign keys. For this, I have removed foreign keys and now the cascading constraints are managed by prisma.

  • Migration in planetscale works differently. It does not use prisma migrations.

  • /admin has been removed. This means now you can login using http://localhost:3000/login instead of http://localhost:3000/admin/login.

  • Domain mapping and certificate generation will be taken care inside vercel infrastructure.

@vercel
Copy link

vercel bot commented Jul 8, 2023

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

Name Status Preview Comments Updated (UTC)
letterpad-admin 🛑 Canceled (Inspect) Jul 30, 2023 9:14pm
letterpad-admin-kv4g 🔄 Building (Inspect) Jul 30, 2023 9:14pm
letterpad-client ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 30, 2023 9:14pm

@abhisaha1 abhisaha1 merged commit 797fa49 into master Jul 30, 2023
4 of 7 checks passed
@vercel vercel bot temporarily deployed to Preview – letterpad-admin July 30, 2023 21:12 Inactive
@abhisaha1 abhisaha1 deleted the vercel branch September 3, 2023 15:04
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.

None yet

1 participant