Files Structure
The project is a mono repo. Lerna is used to manage it properly. To learn more about packages see Monorepo section
The repo's structure is:
+-- JsBattle
|-- packages
| |-- ...
|-- package.json
|-- lerna.json
|-- ...
/packages- Lerna packages. The main package isjsbattle/package.json- main package.json file. Please keep in mind that each Lerna package has its ownpackage.jsoninside/lerna.json- Lerna configuration
Packages

- jsbattle - the main package with the app. It integrates all other packages.
- jsbattle-server - JsBattle server. It hosts static files and provide API for backend services
- jsbattle-mockserver - Mock of JsBattle server for testing purposes
- jsbattle-admin - frontend of application's admin panel.
- jsbattle-webpage - frontend part of the application.
- jsbattle-react - React component with JsBattle
- jsbattle-engine - Battle engine that simulate fights between tanks
- jsbattle-docs - documentation for the project