I want to put a low-traffic personal project online for people looking at my portfolio. I don't need much database space. What free hosting setups are worth considering?
Where can I host a small fullstack project for free?
Answers
Netlify plus Supabase is a straightforward combination to look at. Host the frontend on Netlify, use serverless functions for backend logic, and connect those functions to Supabase for the database.
Keep privileged database credentials in server-side environment variables, not in code sent to the browser. Both services have limits, so check the current allowances before committing to the setup.
Reply to this answer
Cloudflare is worth a look if you want more of the stack in one place. Workers can run backend code, and D1 provides a SQLite database. It also has options for hosting the frontend and storing objects.
Check that your framework and database needs fit that environment before choosing it. Serverless runtimes aren't necessarily a drop-in replacement for a traditional always-running server.
Reply to this answer
You can mix services too. Vercel for the frontend, Render for the backend, and Neon for the database is one possible setup. Railway is another backend option to check.
For a portfolio demo, watch for services sleeping when idle. A slow first request can make the app feel broken even when it's just starting up. Also check whether each free offer is ongoing or only a trial, and what happens when you hit its limits.
Reply to this answer
Self-hosting is another option if you have an old computer or a small board computer available. You could run the app at home and use a tunnel to make it accessible.
That avoids a hosting subscription, but the machine and network need to stay on. You'll also be responsible for securing and maintaining it, so a managed service may be less hassle for a portfolio link.
Reply to this answer
If you prefer managing a regular server, look at the free compute options from a cloud provider. Google Cloud has offered a small free virtual machine, though eligibility and usage restrictions matter. You'd still need to install and maintain the app and database yourself.
Check the current region, resource and billing conditions before creating anything. A free compute allowance doesn't necessarily make every attached service free.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions