Differences
This shows you the differences between two versions of the page.
| Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
2.0 [2026/02/02 20:19] 57.141.20.11 old revision restored (2025/12/24 11:19) |
2.0 [2026/02/03 03:03] (current) 57.141.20.45 old revision restored (2026/01/15 14:28) |
| ==== App Structure Overview ==== | ==== App Structure Overview ==== |
| |
| Both the frontend and backend are programmed in Typescript; Typescript is a type safe, and more structured varient of the javascript lanugage (ES6/ES12-ES2021). We use Yarn on the frontend and backend also, to install packages and run a local development server. | Both the frontend and backend are programmed in Typescript which is executed by the [[https://www.npmjs.com/package/ts-node |ts-node]] package; Typescript is a type safe, and more structured superset of the javascript lanugage (ES6/ES12-ES2021). We use [[https://classic.yarnpkg.com/lang/en/docs/ |Yarn]] on the frontend and backend also, to install packages (like ts-node) and run a local development server. |
| |
| |
| ====Backend==== | ====Backend==== |
| |
| === Libraries === | === Packages === |
| | |
| | == ts-node == |
| | |
| | [[https://www.npmjs.com/package/ts-node |ts-node]] is a typescript execution engine that allows us to write this project as typescript instead of javascript. ts-node is essentially a `source-to-source compiler` / `transpiler`, as it turns one language into another, i.e. typescript into javascript. |
| |
| == GraphQL (Apollo) == | == GraphQL (Apollo) == |
| |
| [[https://www.npmjs.com/package/cross-env |cross-env]] is used for setting the environment mode the project is run in, in a OS independant way. It is used in the package.json file. | [[https://www.npmjs.com/package/cross-env |cross-env]] is used for setting the environment mode the project is run in, in a OS independant way. It is used in the package.json file. |
| | |
| | [[https://www.npmjs.com/package/blipp |blipp]] is a simple hapi plugin to display the routes table to console at startup. |
| | |
| ====Database==== | ====Database==== |
| |