Bando Documentation

Architecture and deployment

Prepare your project for production and understand the main pieces that make it work.

How is Bando composed?

Before deploying, it is useful to understand which parts make up the runtime.

CoreDefines schemas and types.
DatabasePersists data.
ServerExposes the API.
ClientMakes consumption easier.
StudioLets you manage content.

What do you need in production?

The runtime must be able to access a PostgreSQL database and receive the required configuration through the environment.

  1. Database

    Configure DATABASE_URL to point to your production PostgreSQL database.

  2. Security

    Set a strong and private JWT_SECRET.

  3. Administrator

    Provide the email and password required for the first administrator.

  4. Start the runtime

    BASH
    npx bando start

Development vs. production

During development, you can run Bando locally. In production, the principle is the same: the runtime needs access to PostgreSQL and the correct environment variables.

View all environment variables →