I'm diving into web development and want to set up some projects for real deployments. I'm considering platforms like Vercel, but it seems you have to adapt your app for a serverless setup, which might not match how most Express backends are built. Another option is using a VPS, but I'm concerned about the security aspects, and I don't feel ready to secure a Linux VPS. What are some good recommendations for hosting while I'm still learning?
5 Answers
For a solid learning experience that prepares you for employment, you might want to look into containerizing your apps with Docker. It's super simple to run an Express app in Docker, just a few lines of code! You can explore cloud services like AWS, Azure, or Google Cloud; they all have free tiers, but just make sure to manage your resources to avoid unexpected charges. Digital Ocean is also a great alternative, but the big three will give you skills that are more valuable on your resume. If you go the AWS route, look into ECS or Lambda depending on what you're building.
If you're just starting out, consider using platforms that manage the server for you, like Digital Ocean's App Platform or Hetzner Cloud. They simplify the whole process so you can focus on developing your app without getting bogged down by server management.
Check out Google Cloud Run or AWS App Runner for easy deployment options. They handle a lot of the behind-the-scenes stuff, making it beginner-friendly while giving you valuable experience!
For hands-on experience, I set up many projects on GCP, AWS, or even Oracle Cloud's free tier. Sometimes, you might find combining services works best. Additionally, you can rent a $5 Digital Ocean droplet and learn to host your app and a database directly there—it's both a fun project and a great way to improve your terminal skills.
As exciting as hosting is, remember that coding and hosting are different skills. You can start coding your application and only run it locally with `npm start` and visit `localhost:3000`. If you're really looking for hosting later on, focus on your app's architecture first and wait until you have a complete project before you dive into the hosting part.

Related Questions
How to Build a Custom GPT Journalist That Posts Directly to WordPress
Cloudflare Origin SSL Certificate Setup Guide
How To Effectively Monetize A Site With Ads