Giter Club home page Giter Club logo

Comments (12)

w7tf avatar w7tf commented on May 26, 2024 4

Hi! No sure if it's the right place for this question, but seems reasonable to post it here.

Is there any alternatives to planescale that support edge enviroments? To be clear, I'm not asking for a ready sollution, just for alternatives that I can look into.

Turso is another one. SQLite though.

from create-t3-turbo.

juliusmarminge avatar juliusmarminge commented on May 26, 2024 3

Supabase or Neon

Inspo: https://github.com/juliusmarminge/t3-supaedge

from create-t3-turbo.

juliusmarminge avatar juliusmarminge commented on May 26, 2024 1

I still think planetscale is the best recommendation one can make, although not ideal for hobbyists anymore ofc

I think the ideal solution would be to write a codemod that you could run to transform the planetscale stuff to either normal mysql2, or postgres.js

from create-t3-turbo.

matteobad avatar matteobad commented on May 26, 2024 1

I agree with @juliusmarminge we he says that PScale is still one of the best recommendations, unfortunately, I think most of the people using this starting point probably don't want to pay to have a DB.

Codemod is a good idea, clean, simple, and easy to document. Are we sure that PScale should still be the default and not vice-versa though?

from create-t3-turbo.

theclaymethod avatar theclaymethod commented on May 26, 2024 1

I agree, picking something paid as a starting point, especially $39/mo is a nonstarter for a lot of people. How about integrating in the work from the Supabase fork?

from create-t3-turbo.

VaniaPopovic avatar VaniaPopovic commented on May 26, 2024 1

Can pick up this tomorrow in the afternoon!

from create-t3-turbo.

dBianchii avatar dBianchii commented on May 26, 2024

Create t3 app has a create-database.sh

Maybe we could use that?
If we want to support specific database drivers then we would be forced to have to use a init tool for the user to specify what they want in the repo, which isn't ideal

from create-t3-turbo.

dBianchii avatar dBianchii commented on May 26, 2024

I think we shouldn't make the default something that has to be paid. I tried today integrating a local MySQL with the current code but it was failing. I then tried to do the same connection but with PScale and it worked perfectly. I think it's best for the default to be something that works with any provider, and if wanted, have options to use other serverless drivers.

from create-t3-turbo.

juliusmarminge avatar juliusmarminge commented on May 26, 2024

I think the best solution going forward is to switch to Supabase as the default DB provider, with a codemod to revert back to PlanetScale for folks "who have users™️" and can justfiy paying for Scaler Pro plan. Anyone up for making a PR?

Take some inspiration from here: https://github.com/juliusmarminge/t3-supaedge

from create-t3-turbo.

DivMode avatar DivMode commented on May 26, 2024

Im testing xata atm, they have a very generous free tier with 15gb of data. It seems like they use AWS Aurora Postgress under the hood.

from create-t3-turbo.

Kotyarishka avatar Kotyarishka commented on May 26, 2024

Hi! No sure if it's the right place for this question, but seems reasonable to post it here.

Is there any alternatives to planescale that support edge enviroments? To be clear, I'm not asking for a ready sollution, just for alternatives that I can look into.

from create-t3-turbo.

TheBeeL avatar TheBeeL commented on May 26, 2024

An Edge DB option could be interesting, seeing the typescript support it has and are now offer a free hosting plan.

But would also be best to use their libraries instead of drizzle.

from create-t3-turbo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.