Workflow

Add a new page

Adding a new page is very straightforward. Simply create a folder based on the functionality of the page. Whether its part of the dashboard, marketing site, etc.

Add any required routing in the /config/routes file

See below for more details https://nextjs.org/docs/app/building-your-application/routing (opens in a new tab)

Fetching and mutating Data

This project uses server functions to fetch data on server pages, then pass down the data as props in client components.

This project uses server actions to mutate data.

https://nextjs.org/docs/app/building-your-application/data-fetching/fetching-caching-and-revalidating (opens in a new tab)

See Database CRUD section for more details and examples.

Adding a Third Party Library

If adding a third party library simply instantiate it in the Services/init directory then import into other files from here as needed.

Adding a Test

All unit and integration tests are in the /playwright directory. Add any tests and related mock data or functions here.