My Brand

Next Digital Platform

This is the documentation site for the Next Digital Platform.

Application architecture overview
Application architecture overview|NetBank example

Design principles

The design principles behind the Next Digital Platform are:

Repositories

The current thinking is that a domain team will own a single repository with multiple applications that can be versioned and deployed independently.

It doesn't preclude the possibility of a team owning multiple repositories, but the current position is that a single repository should be adequate for Next Digital Platform applications.

Applications

An application should refer to a product or capability that can be released independently of other applications and not a discrete function or feature. For example:

🔴 Bad examples

🟢 Good examples

Intended usage

The intended usage for this repository is to clone or fork it and make necessary changes to configure your applications.

Here you will find a turborepo repository with the following:

Note that this example includes integration with Auth0 as the authentication provider. The the web application is configured to require authentication, while authentication is optional with the docs app. The authentication behaviour is defined in the config/gateway/routes.yml file while the authentication provider is defined in the config/gateway/appsettings.json file.

Getting started

To get started, clone this repository and run the following commands:

pnpm run dev

Pre-requisites

Creating a new app

Start by copying the apps/web directory:

This repository is designed to be a poly repo; not a mono repo, not a repo per app, but somewhere in between. It provides optionality to allow teams to organise their codebase as they see fit.