How we built it

How we built it

Bookbase was not built in one go, but step by step – together with the people who run the library and the textbook fund every day.

The path

  1. 01

    Understand

    How do the school's library and textbook fund actually work? Conversations with the people who run them.

  2. 02

    Specify

    Write a specification before writing the first line of code.

  3. 03

    Build

    Develop the backend and the apps in small steps, with automated tests for every step.

  4. 04

    Test

    Check with test accounts for every role in a dedicated development environment.

  5. 05

    Coordinate

    Work with the school administration on the real data export format.

  6. 06

    Go live

    Put it into operation at the school.

The technology behind it

Bookbase is built entirely on AWS, with separate development and production environments and automated deployment.

Frontend

React + TypeScript + Vite – AWS Cloudscape for the console, Tailwind for the student, teacher and login apps

API

Amazon API Gateway

Backend

Python on AWS Lambda

Data

Amazon Aurora MySQL (Serverless v2) via the RDS Data API

Login

Amazon Cognito

Live updates

AWS AppSync Events over WebSockets

Workflows

AWS Step Functions – school data import and yearly cleanup

Email

Amazon SES

Hosting: Amazon CloudFront + S3

Testing and two environments

An automated test suite for the backend and the apps runs before every deployment. Development and production are separate environments; all infrastructure is defined as code (AWS CloudFormation) and deployed automatically via AWS CodePipeline from GitHub.