diff --git a/Project-Structure.md b/Project-Structure.md index e115c24..6a7d27e 100644 --- a/Project-Structure.md +++ b/Project-Structure.md @@ -7,4 +7,13 @@ The ``.json`` language files are located in ``/locales`` and are separated by na ## Source code We use [TypeScript](https://www.typescriptlang.org/) (JavaScript with types). -The ``.ts`` source files are located in ``/src/`` and will be compiled to ``.js`` in the ``/dist/`` directory. \ No newline at end of file +The ``.ts`` source files are located in ``/src/`` and will be compiled to ``.js`` in the ``/dist/`` directory. + +### Middlewares +All Express [Middlewares](http://expressjs.com/en/guide/writing-middleware.html) are in the directory ``/src/middlewares/`` and need to be manually loaded in ``/src/Server.ts``. + +### Routes +All Express [Router](http://expressjs.com/en/4x/api.html#router) Routes are in the directory ``/src/routes/`` and are automatically registered. + +### Util +All Utility functions are in the directory ``/src/util/``. \ No newline at end of file