Updated Project Structure (markdown)

Flam3rboy
2021-02-04 09:53:01 +01:00
parent e5c83625a2
commit 0a0e59613d

@@ -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.
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/``.