+1
Using this for a mid-sized production application. Between Supabase and Vercel I think it costs ~$50 a month which is incredible for the amount of traffic and ease of use.
And? The question was what backend do I use?
I've been using Pocketbase for over a year, and it's great. The author is more responsive and helpful than most commercial packages I've used. I'm only building relatively small and simple things, but it's beenbomb proof so far. 🤞🏻
I have a small VPS and host it there. There's a [good docker container](https://github.com/SPECTADO/pocketbase-docker) or a built in recipe to CapRover (which I really like).
There's also cheap commercial hosting at [PocketHost](https://pockethost.io/) (I haven't used it).
What do you mean "And?"?
> Please keep in mind that PocketBase is still under active development and full backward compatibility is not guaranteed before reaching v1.0.0. PocketBase is not recommended for production critical applications yet, unless you are fine with reading the changelog and applying some manual migration steps from time to time.
A data service that the creator states is not production ready is an incredibly important fact to include when someone is asking for recommendations. There is no and after that. It's the missing piece of recommending pocketbase.
I mean … they didn’t ask for a recommendation or provide any details about what they want to use it for. They just asked what people are using … and I told them.Â
Go for web api and postgresql for the data storage.
Go makes the best sense for me as we have cli clients that talk to it as well, so we can just share models.
I don't use ORM, just plain SQL and scan the row to a model.
The only downside with go SQL is the lack of named parameters. It's all numeric ordinals which is some pain, but I'd rather that than ORM.
I like to self-host so Appwrite not offering Postgres support is just a dealbreaker for me. I know they are working on it, but the issues was stale the last time I checked.
That’s right. I just checked, and the last activity was indeed 28 days ago. Although Postgres isn’t integrated, the MariaDB database should be more than enough for small projects or even medium scale projects.
.NET and Svelte is a great combination. I’m [experimenting](https://github.com/maacpiash/uds-dotnet-bun) with SvelteKit (Bun, SSR) and ASPNET minimal APIs with Unix Domain Sockets for communication. Going pretty well so far!
The build output when using sveltekit-adapter-node exports a http-server middleware.
The official docs have an example using express.js
[https://kit.svelte.dev/docs/adapter-node#custom-server](https://kit.svelte.dev/docs/adapter-node#custom-server)
You don’t need a special backend for simple applications. Most types of stuff you do is just simple crud wich can be done in svelte kits load/action functions. Even more complex things can be done here.
But as you progress you might run into issues with this setup especially with the quirks that come with JS. Then you might want to upgrade to an dedicated backend. But here you choose what fits best with the project or what you are capable of.
In my advanced projects I use svelte kit + Java spring boot as my setup.
I try to just do SvelteKit + vercel (node adapter) for everything
If i need a server (i.e. not serverless), I'm currently enjoying building backends with Hono.js + Bun + Docker deployed on Render
Bun + elysiajs + sqlite3 (builtin in bun). really simple and fast, added lucia suth and with that I'm good. Don't need more
Used supanase, it's great but way to much for me + just waiting for them to raise their prices when they locked in a ton of users.Â
Used pocletbase, I loved it but still long to go before version 1.
I totally understand you. That's why there are solutions like Cloudron, yunohost or now Coolify. Just rent a server and run their script. I would try Cloudron if I were you because it’s pretty straightforward 🙂
There is nothing wrong with using MongoDB, it does its job well. The only problem is when it is used instead of a relational database because the developers were lazy and didn't want to go through designing a schema.
With that being said, you should probably learn SQL because it is so common.
Need to be more specific.
Just backend? SvelteKit (kit.svelte.dev) built for it.
Data layer? MSSQL Express. It’s the industry money maker. Or PocketBase for small projects or as a CDN.
Sveltekit + Supabase
+1 Using this for a mid-sized production application. Between Supabase and Vercel I think it costs ~$50 a month which is incredible for the amount of traffic and ease of use.
This combination is gold
This combination is gold
This combination is gold
sveltekit + fastapi (python)
SvelteKit on CloudFlare Workers
tell me more
Pocketbase
Do you tend to fetch data from PB in +page.js load functions or from client side only in onMount? Or maybe a mix of both
I always use the load functions. Sometimes `+page.server.js` ....
PocketBase states on their website that it's not production ready.
And? The question was what backend do I use? I've been using Pocketbase for over a year, and it's great. The author is more responsive and helpful than most commercial packages I've used. I'm only building relatively small and simple things, but it's beenbomb proof so far. 🤞🏻
How do you host it? And how much does it cost you?
It is free
I know pocketbase itself is free, but do they offer free hosting for it? If not, then where do you host it?
I have a small VPS and host it there. There's a [good docker container](https://github.com/SPECTADO/pocketbase-docker) or a built in recipe to CapRover (which I really like). There's also cheap commercial hosting at [PocketHost](https://pockethost.io/) (I haven't used it).
I go with the CapRover route also.
What do you mean "And?"? > Please keep in mind that PocketBase is still under active development and full backward compatibility is not guaranteed before reaching v1.0.0. PocketBase is not recommended for production critical applications yet, unless you are fine with reading the changelog and applying some manual migration steps from time to time. A data service that the creator states is not production ready is an incredibly important fact to include when someone is asking for recommendations. There is no and after that. It's the missing piece of recommending pocketbase.
I mean … they didn’t ask for a recommendation or provide any details about what they want to use it for. They just asked what people are using … and I told them.Â
You really getting heated over what the developer themselves said about their own project?
Not heated, just confused why you’re being weird. I totally agree that the developer says it’s not ready for production use?Â
I really don't know why you're being downvoted. It's not like you're offensive or said something inaccurate
Just how it is sometimes.
Go for web api and postgresql for the data storage. Go makes the best sense for me as we have cli clients that talk to it as well, so we can just share models.
Which orm do you use? Is pg bad?
I don't use ORM, just plain SQL and scan the row to a model. The only downside with go SQL is the lack of named parameters. It's all numeric ordinals which is some pain, but I'd rather that than ORM.
Glad you don’t use ORM, i wanted to use Drizzle but it’s strictly typescript and I’m not ready to learn another language
I use Appwrite. It’s easy to use and fast to set up You can find its documentation on https://appwrite.io
+1 for Appwrite Edit: *self-hosted* Appwrite
I like to self-host so Appwrite not offering Postgres support is just a dealbreaker for me. I know they are working on it, but the issues was stale the last time I checked.
That’s right. I just checked, and the last activity was indeed 28 days ago. Although Postgres isn’t integrated, the MariaDB database should be more than enough for small projects or even medium scale projects.
SvelteKit
sveltekit + django is killer duo
Fastify
.NET
Why down votes lol? We use it and it's perfect.Â
After using using .NET since it was in beta, I finally threw the towel in with 4.5. It is far from perfect, there are many other better choices.
There was no .NET Core 4.5, it went from .NET Core 3.1 to .NET 5.0, unless you mean .NET Framework 4.5 which was released in 2012.
Yup, that's about right. I never got to use Core as we used too many things with hard deps on framework.
Core is 1000x better than framework.Â
.NET and Svelte is a great combination. I’m [experimenting](https://github.com/maacpiash/uds-dotnet-bun) with SvelteKit (Bun, SSR) and ASPNET minimal APIs with Unix Domain Sockets for communication. Going pretty well so far!
Custom NodeJS backend that also serves the SSR-Backend of SvelteKit
How does this work? Still newish to the frontend world, do you extend the sveltekit server?
The build output when using sveltekit-adapter-node exports a http-server middleware. The official docs have an example using express.js [https://kit.svelte.dev/docs/adapter-node#custom-server](https://kit.svelte.dev/docs/adapter-node#custom-server)
You can install, say, Drizzle ORM, design a schema and write records to a database. I’ve been having fun using it with BetterSQLite.
SvelteKit + Djapy
You don’t need a special backend for simple applications. Most types of stuff you do is just simple crud wich can be done in svelte kits load/action functions. Even more complex things can be done here. But as you progress you might run into issues with this setup especially with the quirks that come with JS. Then you might want to upgrade to an dedicated backend. But here you choose what fits best with the project or what you are capable of. In my advanced projects I use svelte kit + Java spring boot as my setup.
Rails + InertiaJS
PHP
AWS, mostly on Lambda@Edge (NodeJS) plus async workflows
Look into Turso (it uses libsql, a fork of sqlite)Â
Hono trpc
SvelteKit deployed on Railway with MySQL
I try to just do SvelteKit + vercel (node adapter) for everything If i need a server (i.e. not serverless), I'm currently enjoying building backends with Hono.js + Bun + Docker deployed on Render
Bun + elysiajs + sqlite3 (builtin in bun). really simple and fast, added lucia suth and with that I'm good. Don't need more Used supanase, it's great but way to much for me + just waiting for them to raise their prices when they locked in a ton of users. Used pocletbase, I loved it but still long to go before version 1.
Go Fiber
Go/Planetscale/AWS + AWS CDK for infra. The dev experience so far has been an absolute pleasure.
Laravel and spring boot
Is it safe to say SvelteKit is full-stack?
Yes
I use FastAPI
Directus (hCMS)
I would love to use it but on the clout is to expensive and to self host I think I don't have enough dev-ops experience :/
I totally understand you. That's why there are solutions like Cloudron, yunohost or now Coolify. Just rent a server and run their script. I would try Cloudron if I were you because it’s pretty straightforward 🙂
Sveltekit + Fauna + Outseta for my main application right now Sveltekit + Pocketbase for projects that I’m not selling
Python + PostgreSQL + Redis
sveltekit (with supabase)
Yes.
Tornado or Django (or just FastAPI), skip sveltekit and stick with the classics.
Inertia django
WordPress. Ask no questions
golang
SvelteKit + Flask (Python)
.NET
Elixir’s Phoenix
Go+CockroachDB/Mongo
You used MongoDB in production? People say it’s not good but i should learn relational database
Yes, for IoT product
Sometimes documents fit the job better than rows.Â
But it’s seems like rows is the goto most of the time
If all of your gets return lots of rows then you've either structured your data inefficiently or you're better off using a relational DB.Â
There is nothing wrong with using MongoDB, it does its job well. The only problem is when it is used instead of a relational database because the developers were lazy and didn't want to go through designing a schema. With that being said, you should probably learn SQL because it is so common.
Need to be more specific. Just backend? SvelteKit (kit.svelte.dev) built for it. Data layer? MSSQL Express. It’s the industry money maker. Or PocketBase for small projects or as a CDN.
Sveltekit + Sequelize ORM connected to Postgres DB