This is meant to work with a geoshop-backend: https://github.com/sitn/geoshop-back
- Node >= 18
- @angular/cli
- typescript
npm iCopy the config template and adapt it as needed
cp src\assets\configs\config.json.tmpl src\assets\configs\config.jsonTODO work with env variables or somthing similar!
apiUrl: URL to the BE/APIdefaultCenter: sets the initial center of the map on the langing pageinitialExten: the extent used for the calculation of the tiels. If this is changed theresolutionsand the logic for the calcualtion of theMatrixIdfor the tile requets needs to be adapted as well. Currentli this is a BBox that is somewhat larger than the BBox of Switzerland.basemaps: configure the base maps that can be selectedmediaUrl: if set to an empty string it will not be used. Instead the media/metadata will require a full functional URL
npm startOR
ng serveTODO: is not tested!
An .env.sample is provided as an example.
-
There are three forms that are used that are similar and re use a lot of the same code. Unify them into one comonent. The forms are:
- geoshop-front/src/app/auth/register/register.component.html
- geoshop-front/src/app/account/profile/modify-profile.component.html
- geoshop-front/src/app/account/new-order/new-order.component.html
-
Update deprecated external libraries
-
Add translation files for translation into german
-
Make the TVA number a variable that is set in the top level settings or from the DB - perhaps together with the BE