DEV Community

Discussion on: MERN STACK.... costs

Collapse
 
bradtaniguchi profile image
Brad

that's fine, but yeah I'd say a portfolio can be hosted for free a multitude of ways once you remove the backend element. (like using github pages)

If your on a budget heroku is fine for side projects that require backend, just don't expect to run at scale or have the best user experience, as it takes time to boot up from cold.

Otherwise of your learning this stuff for work, I'd look into the 3 big cloud providers, AWS (Amazon Web Services), Azure and GCP ( google cloud platform). As they are popular in that order :)

Thread Thread
 
yobretyo profile image
Bret

Thabk you! I was looking at AWS on MongoDB, but I think I’m using Google.

Thread Thread
 
bradtaniguchi profile image
Brad

All three of the main cloud providers provide similar offerings so you can pick. AWS is the largest and most popular, Azure is next and Google is last but still has roughly 10% market share. (to keep everything in perspective)

I'd look into mongodb-atlas, which is mongodb's (the company) database-as-a-service provider. It has a free tier and is managed by the company so its rather easy to use with whatever side project(s) you have in mind without breaking the bank :)

Thread Thread
 
yobretyo profile image
Bret

I’ve been using atlas, at least on one computer when I run “nodeman server.JS” it works.... the other it dosnt

Thread Thread
 
bradtaniguchi profile image
Brad

Could be a multitude of things, depends on how it doesn't work though.

  1. Your environment variable(s) isn't the same between the 2 computers, where an environment variable(s) to connect to the database are wrong
  2. Your missing dependencies
  3. Your code is actually different (check with git)
  4. Network error(s)
Thread Thread
 
yobretyo profile image
Bret

Could it be different if I’m using “const” vs “import” on one computer?