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
Run your Fastify API on HCode, managed app hosting from HostAfrica. Detected and built from your repository, with a PostgreSQL database beside it and no server to look after.
Billed monthly. Cancel anytime.
HCode detects Fastify and builds it for you. Run the rest beside your API: a Next.js front end, Redis, a Python worker or 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 detects Fastify, installs your dependencies, runs your build if you have one and starts the server, with SSL on your domain.
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
LiveA Fastify app registers its plugins and routes once, then answers request after request. HCode keeps that process up, with the database and the domain already in place.
HCode detects a Fastify project, installs your dependencies, runs your build if you have one and starts the server. Change the build or start command in the project settings if your app needs another.
Your plugins, hooks and route schemas load once in a Node.js process that lives between requests, not a function that starts cold on each one. HCode sets PORT, so listen on it on 0.0.0.0.
Every HCode plan includes managed PostgreSQL. Point pg, Prisma or Drizzle at one connection string, and run your migrations in the start command, since the database is not reachable during the build.
Add managed Redis to the same project as your API for caching, sessions or rate limiting. It is reachable only from inside that project.
Read API keys and the database URL from process.env. You set them in the panel, they are stored encrypted, and none of them sit in your repository.
Every push builds a new release and deploys it without downtime. A failed build never replaces the live API, and the last good one is a click away.
Managed PostgreSQL and Redis, custom domains with SSL, daily backups and rollbacks come with every HCode plan, so your Fastify API runs in production from its first deploy.
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 |
Yes. HCode detects a Fastify project, installs your dependencies, runs your build and starts your server. If your app needs a different start command or a custom build, set it in the project settings or add a Dockerfile.
By default Fastify listens on localhost, which HCode cannot reach from outside your app. Pass host: "0.0.0.0" and the port from the PORT environment variable to fastify.listen. HCode sets PORT for you.
Run them in the start command, before the server starts, for example with prisma migrate deploy or your own migration script. The database is not reachable during the build, so migrations cannot run there.
Yes. Managed PostgreSQL comes with every HCode plan and sits on a private network beside your API, and it is backed up every day. The plan table on this page shows how many databases each plan includes.
Yes. HCode runs one app per project, so deploy your Next.js, React or Vue front end as its own project beside the API and point it at the API address.
Connect the GitHub repository or upload a .zip, make sure the server listens on 0.0.0.0 and PORT, set your environment variables and deploy. If the API has a PostgreSQL database, import it from a .sql file or a pg_dump archive. Talk to our team if you would like help planning the move.
HostAfrica support is available 24/7, and live chat is open during business hours. The HCode docs cover 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.