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

feat: Neon as database Provider #1976

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

Conversation

JoseCToscano
Copy link

@JoseCToscano JoseCToscano commented Sep 1, 2024

Closes # 1930

With PlanetScale's recent deprecation of their free tier, the community needs a strong alternative—especially for those who prefer to build on PostgreSQL. Neon, designed for serverless environments and with its very generous free tier, is the perfect fit for this role.

Why Neon?
Neon offers a modern, serverless PostgreSQL solution that is perfectly aligned with the needs of developers who prioritize performance, scalability, and simplicity.

I tried using Supabase (lot's of connection issues) and Vercel's Storage (seamless integration, but they're missing all the extra tools that other DB providers offer)

With Neon, you get:

  • Serverless PostgreSQL: Seamless scaling without the need for managing servers.
  • Cost Efficiency: A free tier that supports developers from prototyping to production.
  • Developer-Friendly: A modern approach to database management, making it easy to integrate into existing workflows.

✅ Checklist

  • I have followed every step in the contributing guide (updated 2022-10-06).
  • The PR title follows the convention we established conventional-commit
  • I performed a functional test on my final commit

Changelog

  • Adds Neon as a database provider: Introduced Neon as an option for PostgreSQL
  • Updates CLI Prompts: Added a new option to select Neon as the database provider during the setup process.
  • Configuration Files: Generated all necessary configuration files for Prisma and Drizzle ORM when Neon is selected, ensuring seamless integration with Neon's serverless PostgreSQL.

Screenshots

Screenshot 2024-09-01 at 2 11 25 p m

💯

Copy link

changeset-bot bot commented Sep 1, 2024

🦋 Changeset detected

Latest commit: 7f00687

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
create-t3-app Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Sep 1, 2024

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

Name Status Preview Comments Updated (UTC)
create-t3-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 18, 2024 4:02pm

Copy link

vercel bot commented Sep 1, 2024

Someone is attempting to deploy a commit to the t3-oss Team on Vercel.

A member of the Team first needs to authorize it.

@JoseCToscano JoseCToscano changed the title feat: Neon as databse Provider feat: Neon as database Provider Sep 1, 2024
@ManuRodgers
Copy link

ManuRodgers commented Oct 23, 2024

when this Can be merged? @JoseCToscano how can I use your repo to init the new t3 project with the combination of drizzle and neon?

@JoseCToscano
Copy link
Author

when this Can be merged? @JoseCToscano how can I use your repo to init the new t3 project with the combination of drizzle and neon?

You can use it directly through npm create neon-t3

I wrote an article about it if you're curious: https://dev.to/josectoscano/neon-meets-create-t3-app-the-postgresql-solution-for-modern-developers-4273

Copy link

@ImBIOS ImBIOS left a comment

Choose a reason for hiding this comment

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

love this

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.

3 participants