Comments (12)
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.
Supabase or Neon
Inspo: https://github.com/juliusmarminge/t3-supaedge
from create-t3-turbo.
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.
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.
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.
Can pick up this tomorrow in the afternoon!
from create-t3-turbo.
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.
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.
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.
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.
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.
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)
- bug: Eslint throws: TypeError: context.getSource is not a function when disabling/breaking react-hooks plugin rules. HOT 2
- Expo SDK 51 & RN 0.74 HOT 1
- bug: ui-add doesn't set the import paths properly when adding a component HOT 3
- EAS Build error: Cannot access 'withTurborepoManagedCache' before initialization
- bug: nativewind styles are not being applied HOT 16
- question: Shouldn't we use react/cache with auth() function? HOT 3
- quesiton: using mysql2 instead of planetscale HOT 4
- bug: Error Launching with iOS simulator HOT 4
- Slow Typescript VSCode Intellisense HOT 9
- bug(expo): Root html file does not work for React Native for Web HOT 1
- bug: run well local but deploy to vercel got error HOT 1
- feat: Create default shadcn configuration inside packages/ui HOT 6
- bug: unable to import other workspace packages into expo HOT 5
- feat: A more robust trpc router structure and file separation organization like that of Cal.com HOT 5
- bug: `drizzle-orm/expressions` does not include `sql`, `count`, `sum`, etc. HOT 3
- bug: Environment variables not loaded in expo HOT 2
- bug: eslint-plugin-react-hooks throws TypeError: context.getSource is not a function HOT 10
- bug: Client component - Drizzle schema - env error HOT 5
- bug: Xcode installed, but returns error `Xcode must be fully installed before you can continue` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from create-t3-turbo.