Project Structure
So you've got two repositories now (assuming you followed the setting up guide.) this page looks at what's in the CIPP
folder so you know where to look when you start coding.
The Root
In the CIPP
directory itself there are a number of files and folders, the table below highlights the important ones:
Item | Description |
---|---|
| Holds static files used when compiling CIPP (building) for use. Mostly images and a little |
| Holds the code that powers CIPP, this is where most CIPP development takes place. |
| An npm package file - this tells npm what other libraries/resources to use when building CIPP. |
| An npm package file - this tells npm exact version numbers/packages to use for repeatable builds. |
| Our version file. This gets incremented just before |
The Source
The table below goes into detail on the contents of the src
directory:
Item | Description |
---|---|
| Holds image files used when building the app. |
| Holds custom React components used throughout CIPP. |
| Holds static data files used throughout CIPP. At the time of writing the only one is |
| Holds custom React hooks used throughout CIPP. |
| Holds the main layout file which handles setting up the overall layout of the CIPP user interface. |
| Holds the SCSS files which control the look and feel of the CIPP user interface. |
| Holds the various API interfaces, app feature functional code and middle-ware to drive CIPP functionality. |
| Holds the pages which make up the CIPP user interface. |
of the remaining files in the src
directory the following are noteworthy:
Item | Description |
---|---|
| Holds the navigation items displayed in the left hand navigation bar. |
| Holds information on admin-privileged routes. |
| Holds information on routes. |
Last updated