Developers
Less config.More creation.
Give your next side project a real home. Connect your repository and get back to the part you love: building.
- Framework detection
- Git deployments
- Live build logs
Deploy your Gatsby site on HCode, managed app hosting from HostAfrica. Static pages built from your repository, with SSL, your own domain and no server to look after.
Billed monthly. Cancel anytime.
HCode builds Node.js projects, so your Gatsby site builds from the same repository you work in. Run an API, a Python worker or PostgreSQL beside it, or bring your own Dockerfile.
Read the docsStart small. Make something that matters. Grow from there.
| SoloSmall beginnings. Big possibilities. | DeveloperMore room for your next release. | ProA home for your production apps. | TeamYour whole team. One platform. | Enterprise | |
|---|---|---|---|---|---|
R50/mo Billed monthly R45.83/mo R550 billed yearly Save 8% | R200/mo Billed monthly R183.33/mo R2,200 billed yearly Save 8% | R499/mo Billed monthly R458.25/mo R5,499 billed yearly Save 8% | R999/mo Billed monthly R916.58/mo R10,999 billed yearly Save 8% | Custom | |
| Talk to sales | |||||
| Projects | 3 | 5 | 10 | 20 | Custom |
| DatabasesPostgreSQL or Redis | 1 | 3 | 5 | 20 | Custom |
| Compute | |||||
| RAM | 1 GB | 4 GB | 8 GB | 16 GB | Custom |
| Storage | 10 GB | 20 GB | 40 GB | 80 GB | Custom |
| Usage and features | |||||
| Backup retentiondaily backups | 3 days | 7 days | 30 days | 60 days | Custom |
| Enterprise | |||||
| Single sign-onSAML / OIDC | Not included | Not included | Not included | Not included | Included |
| Invoiced billingannual contract | Not included | Not included | Not included | Not included | Included |
Every plan includes
All prices in ZAR. Annual figures show the monthly equivalent, billed yearly.
Connect a GitHub repository or upload a .zip. HCode installs your dependencies, runs gatsby build and serves the public folder it writes with SSL.
Create a project
Deploy to My Organization
Import from GitHub
Create a project
Deploy to My Organization
Build
Create a project
Deploy to My Organization
your-next-big-idea
LiveGatsby turns your pages and data into static files at build time. HCode runs that build on every push and serves the result, and leaves room for an API when the site needs one.
Gatsby writes its build to the public folder, which is where the HCode Static Site preset looks. If your setup differs, change the build command or output folder in project settings.
Every push to your branch starts a new Gatsby build. Content and code deploy the same way, and a build that fails leaves the live site as it was.
Set API keys as environment variables in the panel, stored encrypted. Only GATSBY_ variables reach the browser, and they are baked in at build time, so change one and redeploy.
When a form, a login or live data needs a server, run an Express or Python API as its own app on HCode and call it from your Gatsby pages.
Managed PostgreSQL is part of every plan, ready for the API behind your site. Your app connects over a private network through one connection string.
Published a broken page? Put the previous deploy back from the panel while you work on the fix.
Managed PostgreSQL and Redis, custom domains with SSL, daily backups and rollbacks come with every HCode plan, so your Gatsby site can grow server features without a new host.
Managed PostgreSQL and Redis alongside your app, on its own private network. Keep your data close and your setup simple.
Your own domain with automated SSL, encrypted secrets and built-in backups. The essentials come with you.
A new release goes live without downtime, and one that fails its checks never replaces the app that is running. Need the last one back? Roll back in a click.
Side projects, SaaS products and client work all deploy the same way on HCode. Here is what that looks like for you.
Developers
Give your next side project a real home. Connect your repository and get back to the part you love: building.
SaaS teams
Keep your app, its database and its background workers together, with the building blocks your product needs as it grows.
Agencies
A modern workflow for every client. Every project gets a free subdomain the moment it deploys; add the client’s own domain when they are ready, give each teammate the right role, and bill predictably in Rands.
Tell us what you are building and we will help you choose.
Chances are you have shipped on Vercel, Netlify, Railway or Render, or your AI builder does it for you. All good tools. Here is what changes when your app and its database live in South Africa.
| code. | Vercel | Netlify | Railway | Render | |
|---|---|---|---|---|---|
| App runs in South Africa | Yes: Yes, by default | Cape Town on request; defaults to Washington, D.C. | No African region | US, Netherlands, Singapore | US, Germany, Singapore |
| Database beside the app | Yes: Managed PostgreSQL, same place | Through a marketplace partner | Through a partner-backed database | Managed PostgreSQL, same region | Managed PostgreSQL, same region |
| Billed in | Yes: Rands | US dollars | US dollars | US dollars | US dollars |
| Where you start | Yes: From R50/mo, always on | Free Hobby plan, personal and non-commercial use only | Free plan with a credit cap | A one-off trial credit, then a paid plan | Free instances sleep after 15 minutes idle |
| Push from GitHub, custom domain, SSL | Yes: Yes | Yes | Yes | Yes | Yes |
| Support | Yes: A South African team, in your time zone | Global | Global | Global | Global |
HCode builds Node.js projects and runs your build script. Gatsby writes its output to the public folder, which matches the HCode Static Site preset. If your project builds differently, set the build command and output folder in project settings.
SSR and DSG pages need a Node.js server rather than static files. Set gatsby serve as your start command, bound to 0.0.0.0 on the port HCode sets in $PORT, for example gatsby serve --host 0.0.0.0 --port $PORT. A fully static site needs no start command.
Gatsby bakes GATSBY_ variables into the static files when it builds. After you change one in the panel, redeploy so the next build picks it up. Variables without the prefix never reach the browser.
Yes. Every HCode plan includes managed PostgreSQL, backed up every day. The plan table on this page shows how many databases each plan includes.
Connect the GitHub repository or upload a .zip, copy your environment variables into the panel and deploy. Check that the build command and the public output folder match your project. Talk to our team if you would like help with the move.
HostAfrica does. HCode is managed hosting: we run the servers that build and serve your site, and you push your code and manage it from the HCode panel.
HostAfrica support is available 24/7, and live chat is open during business hours. The HCode docs walk through the platform step by step.
Pick a plan on this page and order it in the HostAfrica panel, then connect your repository. Not sure which plan fits? Talk to our team and we will help you choose.