PostgreSQL hosting, fully managed.
Right beside your app.

Managed PostgreSQL comes with every HCode plan, the managed app hosting from HostAfrica. Your database runs next to your app and is backed up every day, with no database server to look after.

Billed monthly. Cancel anytime.

One pushPush to main and it is live. No servers to set up, no config to fight, just a URL you can send to someone.
PostgreSQLYour database sits right next to your app and gets backed up every day. Grab the connection string and get on with it.
SSL and rollbacksHTTPS is on from the first deploy. Shipped something broken? Roll back to the last good one and breathe.
From ₵40/moOne flat price in your currency. No surprises when the exchange rate moves, no guessing what next month costs.

PostgreSQL included.Whatever your app runs on.

Pair a managed PostgreSQL database with any app HCode runs: Node.js, Python, Go, Ruby or PHP, or your own Dockerfile. Need a cache as well? Redis runs beside it.

Read the docs

Your ambition.A plan to match.

Start small. Make something that matters. Grow from there.

Billing period
HCode plans compared
SoloSmall beginnings. Big possibilities.DeveloperMore room for your next release.ProA home for your production apps.TeamYour whole team. One platform.Enterprise

₵40/mo

Billed monthly

₵36.67/mo

₵440 billed yearly

Save 8%

₵150/mo

Billed monthly

₵137.50/mo

₵1,650 billed yearly

Save 8%

₵700/mo

Billed monthly

₵641.67/mo

₵7,700 billed yearly

Save 8%

Custom

Talk to sales
Projects3520Custom
DatabasesPostgreSQL or Redis1320Custom
Compute
RAM1 GB4 GB16 GBCustom
Storage10 GB20 GB80 GBCustom
Usage and features
Backup retentiondaily backups3 days7 days60 daysCustom
Enterprise
Single sign-onSAML / OIDCNot includedNot includedNot includedIncluded
Invoiced billingannual contractNot includedNot includedNot includedIncluded

Every plan includes

  • Managed PostgreSQL
  • Custom domains & SSL

All prices in GHS. Annual figures show the monthly equivalent, billed yearly.

From git pushto an app with its database.

Connect a GitHub repository or upload a .zip. HCode builds and deploys your app, and your managed PostgreSQL database runs beside it. Set the connection string once and get back to your code.

Create a project

Deploy to My Organization

  1. 1Source
  2. 2Build settings
  3. 3Details
GitHubDeploy from repo
UploadDeploy a .zip

Import from GitHub

your-next-big-ideamainConnected
Continue

Create a project

Deploy to My Organization

  1. ✓Source
  2. 2Build settings
  3. 3Details

Build

  1. $ git push origin main
  2. Repository connected: main
  3. Framework detected: preparing build
  4. Installing dependencies...
  5. Build complete

Create a project

Deploy to My Organization

  1. ✓Source
  2. ✓Build settings
  3. 3Details

your-next-big-idea

Live
  1. Provisioning app + PostgreSQL in South Africa…
  2. SSL configured
  3. Deployment complete

A database you use.Not one you run.

Running PostgreSQL yourself means installs, upkeep and a backup routine you hope works. On HCode it comes managed with your plan, so you keep your data and leave the server to us.

  • No database server to run.

    HostAfrica runs the PostgreSQL server for you. You never install, configure or look after it: you work with your data.

  • One connection string.

    Grab the connection string and set it as an environment variable. It is stored encrypted, never lands in your repository, and works with Prisma, Drizzle or plain SQL.

  • Backed up every day.

    HCode backs up your database daily and keeps the backups for as long as your plan allows. It also takes a backup before an import replaces your data.

  • Included in your plan.

    There is no separate database to buy. Every HCode plan includes a set number of databases, each one PostgreSQL or Redis.

  • Close to your app.

    Your database runs alongside your app on its own private network. Keep your data close and every query short.

  • Bring your data with you.

    Moving from another host? Import your PostgreSQL data from a .sql file or a pg_dump archive.

More than a database.The toolchain comes with it.

Managed PostgreSQL is one part of every HCode plan. Git deploys, SSL, backups and rollbacks come with it, so your app and its data are production-ready from the first deploy.

  • A database, not a detour.

    Managed PostgreSQL and Redis alongside your app, on its own private network. Keep your data close and your setup simple.

  • Secure from the start.

    Your own domain with automated SSL, encrypted secrets and built-in backups. The essentials come with you.

  • Go forward. Roll back.

    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.

One platform.Three ways to build.

Side projects, SaaS products and client work all deploy the same way on HCode. Here is what that looks like for you.

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

SaaS teams

Build the product.Keep your momentum.

Keep your app, its database and its background workers together, with the building blocks your product needs as it grows.

  • Managed PostgreSQL
  • Environment variables
  • Rollbacks

Agencies

Client work.Without the busywork.

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 your currency.

  • Multiple projects
  • Custom domains
  • Free subdomains

Tell us what you are building and we will help you choose.

code.

Let’s buildsomething great.

Tell the HostAfrica team what you have in mind. They’ll help confirm HCode availability and the right plan for your project.

Opens HostAfrica’s contact page. No account or payment is created here.

So, why HCode?Let’s compare.

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 Africa.

code.VercelNetlifyRailwayRender
App runs in AfricaYes: Yes, in South AfricaCape Town on request; defaults to Washington, D.C.No African regionUS, Netherlands, SingaporeUS, Germany, Singapore
Database beside the appYes: Managed PostgreSQL, same placeThrough a marketplace partnerThrough a partner-backed databaseManaged PostgreSQL, same regionManaged PostgreSQL, same region
Billed inYes: GHSUS dollarsUS dollarsUS dollarsUS dollars
Where you startYes: From ₵40/mo, always onFree Hobby plan, personal and non-commercial use onlyFree plan with a credit capA one-off trial credit, then a paid planFree instances sleep after 15 minutes idle
Push from GitHub, custom domain, SSLYes: YesYesYesYesYes
SupportYes: Direct from the HostAfrica teamGlobalGlobalGlobalGlobal

PostgreSQL on HCode,questions answered.

Have something else in mind?

Talk to our teamBrowse the docs

What is managed PostgreSQL on HCode?

A PostgreSQL database that HostAfrica runs for you, beside the app you host on HCode. It comes with every HCode plan, so you use the database without installing, running or maintaining the server.

Do I pay for the database separately?

No. Databases are part of your HCode plan, not a separate product. Solo includes 1 database, Developer 3, Pro 5 and Team 20, and each one can be PostgreSQL or Redis. The plan table on this page shows the full limits.

Do I have to manage the database server?

No. HCode is managed hosting. HostAfrica runs the PostgreSQL server; you connect your app with the connection string and work with your data.

How are backups handled?

HCode backs up your database every day and keeps the backups for 3 days on Solo, 7 on Developer, 30 on Pro and 60 on Team. Before an import replaces your data, HCode backs the database up first.

How does my app connect to the database?

Grab the connection string and set it as an environment variable in the panel, such as DATABASE_URL. Environment variables are stored encrypted and stay out of your repository.

Can I move an existing PostgreSQL database to HCode?

Yes. Import your data from a .sql file or a pg_dump archive. HCode backs up the database before an import replaces it. Talk to our team if you would like help planning the move.

What support do I get?

HostAfrica support is available 24/7, and live chat is open during business hours. The HCode docs cover the platform step by step.

How do I get started?

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.