A Map Viewer + Toolbox to effeciently use Axioroute API
Typescript
(strongly typed programming language )Openlayers
(A high-performance, feature-packed library for all your mapping needs.)Docusaurus
(Easy to maintain documentation websites)Requirement: node version >= 18.0 Create a gitlab token with api rights (see https://gitlab.com/-/user_settings/personal_access_tokens) Create / update ~/.npmrc
@axioroute:registry=https://gitlab.com/api/v4/projects/53289426/packages/npm/
//gitlab.com/api/v4/projects/53289426/packages/npm/:_authToken=
Where
All commands below are meant to be executed from project root, adapt it to your current active folder
Open one terminal window per sub projects
All setup should be executed in the order given below to match dependencies
This is the core package used by all the demo apps and by axioroute-mapviz package
cd packages/axioroute-sdk
pnpm install
pnpm build
to publish the package, set the .npmrc in your runner then use the command:
npm publish --access public
Serve the typedoc documentation
pnpm doc:serve
This is the package used by the webview
cd packages/axioroute-mapviz
pnpm install
pnpm build
Serve the typedoc documentation
pnpm doc:serve
This server is used for both websocket communication and as an API auth & proxy server
cd demos/app-websocket-server
cp .env.example .env
feed .env with requested env variables
cd demos/app-websocket-server
pnpm install
pnpm dev
This is the webview app, including:
cd demos/app-webview-source
pnpm install
pnpm dev
This is the Demo App using the webview as an iframe
cd demos/app-with-iframe
cp .env.example .env
feed .env with requested env variables
cd demos/app-with-iframe
pnpm install
pnpm dev
If you complete all above steps, you can now the url that should be displayed within the terminal
cd documentation/functional-documentation
pnpm install
cp .env.example .env # feed .env with requested env variables
Serve the documentation:
pnpm dev
Generated using TypeDoc