This repo holds the Ember project that serves as the frontend of Open Proces Huis. Open Proces Huis is one of many applications developed under the Agentschap Binnenlands Bestuur (ABB), which is part of the Flemish Government. It allows for lokale besturen to create and share processes. Such process is created by uploading a BPMN file, and can be populated further with other types of files that serve as attachments. The application also allows for uploading new versions of a process's BPMN file, enabling for a very rudamentary idea of version control.
The frontend relies on some backend for proper running. In fact, it relies on a wide range of microservices, each doing its own part. The setup of the complete microservices stack can be found in this repo, whose README also stipulates the necessary steps to undertake in order to get the stack running.
First make sure the backend is up and running.
- Clone this repository
git clone https://github.com/lblod/frontend-openproceshuis.git
- Download the necessary NPM packages
cd /path/to/project
npm install
- Run the project
ember serve --proxy "http://localhost:80"
- In your browser, go to localhost:4200 to visit the homepage of the web application.
As with any Ember project, router.js holds all possible routes the application offers. What follows, is a brief overview of the most important ones.
/mock-login
: log in using a mock user (every user is part of a lokaal bestuur)/processen
: list all processes of all lokale besturen/processen/<id>
: consult the details, the latest BPMN file, the latest BPMN file's process steps, all BPMN file versions, and attachments of a specific process/gedeelde-processen
: list all processes of the current user's lokaal bestuur and upload a new one (a BPMN file is always the starting point for the creation of a process)/processtappen
: list all process steps of all lokale besturen (process steps correspond to the BPMN elements found in a BPMN file)