#Problems with backend

16 messages ยท Page 1 of 1 (latest)

trim holly
#

Hey all! scrimba_space_agency
I'm trying to incorporate some backend to my project (just a simple highscore list for a game), using NodeJS, ExpressJS, MongoDB and MongoDB Atlas. I can't get things to work when I deploy it to Netlify. I have now learned that Netlify is mainly for frontend stuff. Does this mean I need to deploy my project somewhere else? If so, which service should I use for projects that involve backend stuff?
I appreciate all answers, thanks! scrimfire

rose bear
# trim holly Hey all! <:scrimba_space_agency:819966590832476161> I'm trying to incorporate s...

Correct. Netlify cannot manage server-side projects, so you need to deploy the backend stuff somewhere else. Out of the free options available, I think https://render.com/ is the easiest to deploy on for a first timer, although it is a little slower than the others.

Other options include:

  1. https://railway.app/
  2. https://vercel.com/dashboard
  3. https://www.heroku.com/ (not free)

Render is a unified cloud to build and run all your apps and websites with free TLS certificates, global CDN, private networks and auto deploys from Git.

Railway

Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.

trim holly
rose bear
#

๐Ÿ‘

proven bronze
trim holly
dusky gust
#

Doesn't Atlas come with a free tier? you could just make calls to the free mongo instance on Atlas unless I'm missing something. Mongo doesn't need to live where your middleware lives.

trim holly
#

Aaaand, here it is finally, after 2 days of struggling ๐Ÿ˜‚
Try to get on the high score list, and I will remove the fake scores once there are 3 legit ones there ๐Ÿ™‚

https://pyramids.onrender.com/

#

Now it's 2:47 am. I finally deserve some sleep

trim holly
#

And to the person who cheated in my game: Thank you!
I had to figure out how to do it myself, and now I know ๐Ÿ˜Ž scrimfire

burnt merlin
trim holly
#

Render is super slow sometimes. I need to find another solution, now when I know it's working

dusky gust
#

I had an interesting experience with Render a long time ago. I had gotten their free credits from some course and hosted a site with them. I forgot to shut it down. I assumed they'd stop it after my credits got exhausted but nope, the site kept running and they sent me a bill. Just be careful with shutting down sites, they seem to be pretty strict with billing.

trim holly
dusky gust
#

I don't think they can, luckily I didn't have a card, or they could've just quietly kept billing me lol... I dunno... I just found it annoying they kept sending me messages and one of the Render ppl were taking the course with me and they assured me it was taken care of but then I kept getting messages to add a card lol... haven't checked them out since then.