This is all you need for standalone application supported with best custom clear code on both side (front/backend).
npm i
npm run rockIf you wanna self hosting: HTTP
npm run hostHTTPS
npm run httpsAlternative : You can use any other web server.
+----------+----------+---------------------------------------------------------------------------------+
| kickstart [safir] ANY CLIENT |
| My link https://maximumroulette.com/apps/gameplay/ |
+----------+----------+---------------------------------------------------------------------------------+
^ |
| |
| |
| |
| |
| | WEB SERVER [For hosting html5 clients also for rocketcraft api]
| |
+--------------------------------------------------------------------------------------------------------+
| | | |
| +----+----------v-----------+ +-----------------------------+ |
| | | | | |
| | REST API | | HTTP, HTTPS (1.1 or 2) | |
| | [/rocket/register] | | | |
| | [/rocket/confirmation] | +-----------------------------+ |
| | [/rocket/register] | |
| | [/rocket/login] | |
| | [/rocket/fast-login] | |
| | [/rocket/profile/upload] | |
| | [/rocket/profile] | |
| | [/rocket/profile-delete] | |
| +---------------------------+ |
| |
| +------------------------------------------------------------+ |
| SOURCE : https://github.com/zlatnaspirala/rocket-craft-server |
| +------------------------------------------------------------+ |
| |
+--------------------------------------------------------------------------------------------------------+
| NODEJS CORE |
+--------------------------------------------------------------------------------------------------------+
| MONGO DATABASE |
+--------------------------------------------------------------------------------------------------------+