Collaborate together in a value network.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
nd. Agent consumes data from 2 possible endpoints, both used in the faircoop ecosystem. If you want to install Agent locally and you're not part of faircoop, you need to install also the backend locally
You need nodejs
and npm
installed on your machine.
Shroom is an ejected version of CRA - Create react app - project. In order to have a local version of Shroom running on your machine you will need to follow these steps:
git clone git@github.com:ivanminutillo/shroom.git
cd shroom
npm install
npm start
The test suite is made with Puppeeter and Jest. Currently the app is covered only with End to End tests. We will cover the app also with unit tests.
To run the tests:
npm run debug
Agent is a static app, therefore deployment is quite straightforward. You mainly need to build your app.
npm run build
The resultant artifact contains the static files that will interact with the graphQl layer, you can deploy the folder with github-pages, zeit or any (serverless, or classic) hosting service.
The fair.coop Agent version is deployed with Zeit <3
- React - The web framework used
- Apollo - Both to manage graphql on the server and as local state management
- styled-component - Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress 💅
- webpack - Javascript bundler
[TODO]
We use SemVer for versioning. For the versions available, see the tags on this repository.
You can read more about Agent and OCE on our website and docs
See also the list of contributors who participated in this project.
This project is licensed under the AGPL 3.0 License