Skip to main content

Architecture

Branches overview

While V2 is being gradually adopted, it will involve the use of two actively maintained branches, as explained in Gradual Adoption

All routes, pages and features that haven't been implemented or integrated into the v2 branch n will be redirected to the legacy nextjs branch n-legacy.

Branch routing

Branch n-legacy

Github Link

https://github.com/C4CNYC/CT-React-Live/tree/n-legacy

Description

The Next.js version of the current app structure. Misc. optimizations. Can use Mui v4 or v5 on a per-page bases.

See also Next.js legacy branch n-legacy Overview

Branch n

Github Link

https://github.com/C4CNYC/CT-React-Live/tree/n

Description

Uses a MUI UI Kit as a boilerplate starter, explained in MUI v5 Minimal Dashboard

Also functions as a reverse proxy and includes the multi-app, wordpress subdirectory and multi-tenancy routing logic (in src/middleware.ts)

Includes the CMS / Content Creation Tool

Includes new features like the Courses overview page