From 0a0e59613df9272672fffde52bc3c6ff31b41ce2 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Thu, 4 Feb 2021 09:53:01 +0100 Subject: [PATCH] Updated Project Structure (markdown) --- Project-Structure.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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