Bando Documentation
Installation
Create your first Bando project, define the content you need, and start using it in your website.
In this guide, we will get Bando running locally. You do not need to understand the entire infrastructure to follow these steps.
What we are building
By the end of this guide, we will have four pieces working together:
- Node.js — runs the Bando runtime.
- PostgreSQL — stores the documents.
- Bando — organizes content and makes it available to the application.
- Studio — lets you manage content through the browser.
Prerequisites
You need Node.js 20 or later, PostgreSQL, and an empty Node project.
If you do not have PostgreSQL installed, you can use Docker. Docker is simply a convenient way to run PostgreSQL locally; it is not a conceptual dependency of Bando.
1. Create the project
First, create a Node project.
npm initcreates thepackage.json, which will be used to manage the project's dependencies.npm init -ynpm install bando-cmsnpx bando initThe first command creates the project, the second installs Bando, and the third initializes the required configuration.
2. Start PostgreSQL
Bando needs a database to persist documents. The command below creates a local PostgreSQL instance using Docker.
docker run --name bando-postgres -e POSTGRES_USER=bando -e POSTGRES_PASSWORD=bando -e POSTGRES_DB=bando -p 5432:5432 -d postgres:16-alpine3. Start Bando
Now start the runtime in development mode:
npx bando devThe runtime will be available at:
http://localhost:3333Studio is available at:
http://localhost:3333/admin
Next step
Now that the project is running, let us define the content types your application needs.
Configure Bando →