Getting Started
Development Instructions
Section titled “Development Instructions”boba-backend needs 3 different components to run:
- The actual server (NodeJS + Express)
- The database (PostgreSQL)
- 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.
Quickstart (single command)
Section titled “Quickstart (single command)”In a terminal, run the following command:
yarn run devIndividual commands
Section titled “Individual commands”In a terminal, run the following commands:
Start the database and the cache
Section titled “Start the database and the cache”yarn run db:startStart the server (development mode)
Section titled “Start the server (development mode)”yarn run server:devRun tests
Section titled “Run tests”yarn run testMaking sure the server is running
Section titled “Making sure the server is running”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.