Skip to content

Getting Started

boba-backend needs 3 different components to run:

  1. The actual server (NodeJS + Express)
  2. The database (PostgreSQL)
  3. The cache (Redis)

You can choose to run these in the same command, or separately. Unless you’re running tests, you’ll likely want to start them all together.

In a terminal, run the following command:

yarn run dev

In a terminal, run the following commands:

yarn run db:start
yarn run server:dev
yarn run test

You can test the server is running by opening http://localhost:4200/realms/slug/twisted-minds in any browser. You should now see a list of all the realm properties in JSON format.