Skip to content
monashcodingPublic

About

Core library/utility for making Monash Association of Coding websites!

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

mac-core

Shared TypeScript packages for Monash Association of Coding apps.

Components

Sign-in for MAC apps through mac-auth. Gives an app the signed-in user and role checks in Next.js, Express and the browser.

PostHog and Google Analytics for MAC apps. One setup per app, with replay masking and the PostHog proxy included.

Postgres for MAC apps through Drizzle. Connects to the shared server, encrypts sensitive columns, and filters, sorts and pages lists.

A typed feature registry. Features are declared once and gated by PostHog flags and mac-auth roles.

The server plumbing every app repeats. Environment, errors, validation, rate limits, health checks, logging, jobs and caching.

The MAC Oxlint preset. Turns on every anti-slop rule in three lines of config.

TypeScript presets. One for Next.js apps, one for Node services, one for libraries.

One visual language for MAC apps. Colour, type, components, a ready-to-paste Tailwind theme and the Min and Max mascots.

Conventions

CONVENTIONS.md is how every MAC app is built on these packages.

About

Core library/utility for making Monash Association of Coding websites!

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages