Developer Docs

File Structure

While many files are controlled by the contents of the Entity, UI and Security diagrams, there exists a base high-level file structure that remains consistent for all apps.

This file structure is consistent across both C#Bot and SpringBot.

Structure

├── clientside
├── docker-compose.yml
├── models
│   ├── entity
│   ├── security
│   └── ui
├── README.md
├── serverside
├── _shortcuts
│   ├── linux_start.sh
│   ├── linux_stop.sh
│   ├── mac_start.command
│   ├── mac_stop.command
│   ├── windows_start.ps1
│   └── windows_stop.ps1
└── testtarget
Directory/File Description
clientside Contains the client-side source code for the application (i.e the Angular or React components)
docker-compose.yml A Docker Compose File for developing/running your application
models The serialised diagrams which were built on the platform. See below for more information.
serverside The server-side source code for the application. This contains the C# or Java components.
_shortcuts Shortcut scripts for starting and stopping your application using Docker
testtarget The integration tests for the application, written separately and based on the technologies used by the respective bots.

The models folder

While the other directories are relatively self explanatory and can be found in many other projects external to Codebots, the models directory is special.

One of the key benefits of Codebots is that the platform does not follow a lock-in business model. Keeping with this, the key artefacts that are created on the platform, (the UI, Entity and Security diagrams) are serialised and placed within your file structure for external use. These models are serialised into an XML format to allow for ease of use.

The models directory follows the following structure:

├── models
│   ├── entity
│   ├── security
│   └── ui
Directory Description
entity The model for the entity diagram.
security The model for the security diagram.
ui The model for the user interface diagram.

For more information about each bot’s individual file structure, you can read:

Was this article helpful?

Thanks for your feedback!

If you would like to tell us more, please click on the link below to send us a message with more details.

Tool:

Generate

Iterate

Bot:

C#Bot

SpringBot

On this page

New to Codebots?

We know our software can be complicated, so we are always happy to have a chat if you have any questions.