r/Web_Development • u/CharlesBriggs99 • Nov 18 '22
Server Less Chat Or hosting website without server or free server?
Can anyone recommend a server less chat Or a way to host a website for free without a server or one that you could do with a free server or you wouldn’t have to pay a monthly fee?
5
Upvotes
4
u/samlawski Nov 18 '22
“Serverless” isn’t really without servers. It’s a way to host backend functions without having to setup your own server. It’s useful if you need a backend for a few smaller tasks but don’t need a full-featured large backend application.
A chat is usually a more complex type of application. And given the way you asked the question, I assume you are still learning how to build one?
For chat applications you nowadays often use a concept called web sockets. And that usually doesn’t work with most “serverless” providers. There are other ways to build chats (like webrtc - which quite difficult to wrap your head around as a beginner). But in the end you’ll most likely need some proper backend.
I suggest you start by learning how to build a chat. Maybe with socket.io, Express, and MongoDB. Maybe React or Next in the frontend. There are many alternatives to all the above. But they are popular solutions and you’ll find tutorials for them. I suggest, you find a tutorial and learn to build a chat application on your computer. And only once you have something working and got that far you worry about hosting it on a server.
All the big cloud providers also offer free credits for a certain period of time. But again, I would worry about that part after you know how the app is going to work in the first place.
Good luck!
-1
u/CharlesBriggs99 Nov 18 '22
Anyone else have any other ideas?