# Folder structure

<table><thead><tr><th width="136">Main folder</th><th width="140">Sub folder</th><th width="143">Sub folder</th><th>Description</th></tr></thead><tbody><tr><td><strong>api</strong></td><td></td><td></td><td></td></tr><tr><td></td><td>jwt</td><td></td><td>JWT-CFML library</td></tr><tr><td></td><td>resources</td><td></td><td>All API resources</td></tr><tr><td></td><td>taffy</td><td></td><td>Taffy Framework files</td></tr><tr><td><strong>backend</strong></td><td></td><td></td><td></td></tr><tr><td></td><td><mark style="color:red;">core</mark></td><td></td><td>The core folder / never touch it</td></tr><tr><td></td><td></td><td><mark style="color:red;">com</mark></td><td>All .cfc files (models)</td></tr><tr><td></td><td></td><td><mark style="color:red;">handler</mark></td><td>The handler files (controller)</td></tr><tr><td></td><td></td><td><mark style="color:red;">views</mark></td><td>All cfm files (HTML views)</td></tr><tr><td></td><td><mark style="background-color:green;">modules</mark></td><td></td><td>Here you can develope your modules</td></tr><tr><td></td><td><mark style="background-color:green;">myapp</mark></td><td></td><td>Here you can develope your main app</td></tr><tr><td></td><td></td><td>widgets</td><td>Widgets for your app</td></tr><tr><td><strong>configs</strong></td><td> </td><td></td><td>Configuration files for Docker and the application (config.cfm)</td></tr><tr><td><strong>db</strong></td><td> </td><td></td><td>Database SQL files</td></tr><tr><td><strong>dist</strong></td><td> div.</td><td></td><td>Images, CSS, JS and fonts</td></tr><tr><td><strong>frontend</strong></td><td></td><td></td><td>Frontend files, all pages which do not require a login</td></tr><tr><td></td><td>core</td><td></td><td></td></tr><tr><td></td><td> </td><td>com</td><td>All .cfc files (models)</td></tr><tr><td></td><td></td><td>handler</td><td>The handler files (controller)</td></tr><tr><td></td><td></td><td>scheduletasks</td><td>All cfm files (HTML views)</td></tr><tr><td><strong>logs</strong></td><td> </td><td></td><td>Log files, split into monthly folders</td></tr><tr><td> <strong>setup</strong></td><td></td><td></td><td>This folder contains the routine needed for the very first setup on a live environment</td></tr><tr><td></td><td> mockdata</td><td></td><td>Contains scripts to create test data</td></tr><tr><td> </td><td></td><td></td><td></td></tr><tr><td><strong>userdata</strong></td><td></td><td></td><td>Files uploaded by the customer are stored in this folder</td></tr><tr><td></td><td>images</td><td></td><td>Stores images from usres</td></tr><tr><td> </td><td>logos</td><td></td><td>Stores logos from users</td></tr><tr><td> </td><td>modules</td><td></td><td>Pictures for the modules</td></tr><tr><td> </td><td>users</td><td></td><td>Stores profile pictures from users</td></tr></tbody></table>
