Whiteflag is a fully neutral and secure communciations protocol based on blockchain technology. It enables near real-time communication in conflict and disaster areas to exchange early warning and status information to create shared situational awareness. The Whiteflag Protocol specification is an open standard.
This Whiteflag pilot is to build a so called Minimum Viable Product (MVP) to communicate the location of schools.
The project is currently in planning. More details will follow soon.
Run npm install
Run npm start
You can now visit the application on localhost:3000
Make sure you have installed serve
(npm install serve
).
Run npm run build
. This creates a build directory with a production build of the app.
Serve the build dirctory by executing serve -s build
.
When serve
is only installed as devDependencie => run npx serve -s build
You can now visit the application on localhost:3000
Make sure you have installed json-server
(npm install json-server
)
Run json-server --watch db.json
This will start the server on localhost:3000. Since the application is also running on port 3000, you can give an alternetive port by adding the port flag (--port <port-number>
(fe 5001)).
Re-route db.json with node server.js
(install express (npm install express
)).
All available endpoints from Fennel labs can be found on there GitHub account and there documentation can be found on the wiki of this page.
Once the app is up and running you can create an account in the interface.
With your account you can create an API-group via the Dashboard of Fennel labs. Via this dashboard it is also possible to accept people to this group and add tokens to theire account.