Hey everyone! I'm a total beginner but have some experience with software development. I'm currently working on a little Valentine's Day app for my boyfriend, and it's been going well locally – I can open two tabs on my local server and communicate without issues. However, I want him to be able to download the app and send/receive messages without relying on my local server. I'm looking for free or low-cost options to achieve this, but I'm stuck on where to even start since the terminology is a bit confusing. Any guidance or documentation you could point me to would be super helpful! Thanks a ton!
4 Answers
If both of you are on the same WiFi network, you can access your local server using your computer's local IP address, which usually looks like 192.168.x.x. Just check your WiFi settings to find it!
I recommend trying out AWS Amplify for hosting your web app. It’s pretty straightforward; you just need to create a GitHub repo and it will automatically pull your code and publish it. Makes deployment a breeze!
You have a couple of options:
1. Use a service like localtunnel which allows your local server to be accessible online through a temporary URL. Just keep in mind that it only works while your computer is on.
2. For a more permanent solution, consider deploying to a hosting service. Platforms like render.com, railway.app, and fly.io have free tiers. They will give you a public URL, but you’ll need to learn a bit about how to deploy your code using Git.
You should check out Railway and Vercel for hosting. If you link your GitHub project to either of these, you can easily deploy your app and access it from anywhere. They both offer free tiers that are great for beginners!

Yeah, and just a heads up: since you're building a messaging app, check out WebSockets, especially Socket.io for Node.js—it's great for real-time communication!