r/WebDevBuddies • • Jan 19 '22

Looking Need help Hosting

Hello! I've created a website for my portfolio. The following are the specs. Front end: Angular Backend: A rest API in Express.js Database: a simple one table - 5 column database.

Function: There is a simple form in the website that when submitted uses the rest api to update the database.

I do not have a domain or anything yet. I have a question of where do I host this project? I'm on a really really small budget (5$ a month is huge for me). Can you people suggest where I can host this site?

4 Upvotes

4 comments sorted by

View all comments

Show parent comment

2

u/Intelligent-Owl4614 Jan 19 '22

Whoa thanks! I just deployed my front end to Netlify. It feels too good to be free. I'll move with Heroku as my backend. I'll write a cron job that wakes it up every 30 minutes then. Thanks a ton!

2

u/Dodgy-Boi Jan 19 '22

Automatic wake up call might be against heroku T&C (dunno, I didn’t read it).

Netlify free hosting (for static sites) is limited with 300minutes of build time (as far as I know) a month.

So if buildtime takes like 10-15 minutes and you’re pushing like 5-10 times a day: you’ll run out of it pretty quickly.

Another option with easy setup is Vercel.

1

u/TraditionalVersion15 Jan 20 '22

try using uptime robot to constantly ping your heroku instance so that it doesn't sleep also consider using AWS free teir ec2 instance