Stores images of complete Hajk-installations
4.0K
Hajk is an open source web GIS solution based on the latest technologies such as React, Material UI and OpenLayers. It is developed in Sweden and used by various municipalities and government agencies, as well as by public and private enterprises.

For developer info, see CONTRIBUTING.md.
If you are a new user of Hajk, please visit our welcome page (Swedish only) for more information about Hajk.
You can easily reach out to our community using the Discussions on GitHub.
The official automatic build of the latest version can be found here: https://hajk-demo.netlify.app/.
For some real-life examples, see the following solutions:
Please refer to Hajk's official installation guide.
Note that Hajk consists of 3 applications: the main 'client' (which is the web map front end), 'admin' (which basically is a frontend for client's configuration files) and 'mapservice' (the backend server application which has a REST API).
Clone the repository: git clone https://github.com/hajkmap/Hajk.git.
Note: There are currently two available backends for Hajk - you need to pick only one:
If unsure on which backend to pick, it is recommended to choose the NodeJS solution. It is easier to setup because it only requires NodeJS (which you already have if you want to run Hajk anyway).
hajk repo dir, go to new-backend and install dependencies:cd new-backend
npm install
.env. It's fine to leave the defaults. Note which PORT is specified, by default it is 3002.npm run dev
http://localhost:3002. There's also a nice API explorer available on http://localhost:3002/api-explorer/.backend/See Docker README for more information.
Now when Backend is up and running, it's time to start the Client (and optionally Admin) applications.
new-client/public/appConfig.json. Make sure that mapserviceBase is a valid URL to a running instance of the Backend (if you're using the NodeJS application and your Backend is running on port 3002, you should set mapserviceBase to "http://localhost:3002/api/v1".new-client. Go there (cd new-client) and install the dependencies and start by typing: npm i && npm start.http://localhost:3000.This process is similar to the Client app.
new-admin/public/config.json."url_map", "url_map_list", "url_map_create", "url_map_delete" needs to point toward "http://localhost:3002/api/v1/mapconfig...", the rest is the same as for new-clientnew-admin. To get it running do cd new-admin && npm i && npm start.http://localhost:3001.You can use the NodeJS backend to deploy the Client and Admin applications as well. For details, see this section in Backend's README.
If you plan to develop for Hajk, make sure to read the next section on code standard for the project.
Content type
Image
Digest
sha256:de3c00e5e…
Size
106.3 MB
Last updated
14 days ago
docker pull hallbergs/hajk