Coffee Chain is a decentralized blockchain app to directly connect specialty coffee producers and coffee shops all around the world, removing intermediaries and supporting fair trade.
All available coffees
Details of a particular coffee offer
- Node
- Npm
- Clone the repo
$ git clone https://github.com/chinins/coffee-chain-frontend.git
$ cd coffee-chain-frontend
- Install dependencies
$ npm install
- Install and run IPFS daemon
$ npm install -g go-ipfs
$ ipfs daemon
To allow cross-origin for IPFS
$ ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin "[\"*\"]"
$ ipfs config --json API.HTTPHeaders.Access-Control-Allow-Credentials "[\"true\"]"
- Create a config.js file instead of example.config.js file and put google maps API key there
$ cd src
$ cp config.js example.config.js
- Run it
$ npm start
- React - frontend framework
- Redux - predictable state container for JavaScript apps
- Emotion - CSS-in-JS library
- Stripe - online payment system
- EOS - blockchain infrastructure for decentralised apps
- Koa - web framework for node.js
- MySQL - relational database
- Sequelize - promise-based ORM for Node.js
- Redis - in-memory data structure store, used as a database, cache and message broker
- Demux - state and side effect handling for blockchain applications
- Stripe - online payment system
- EOS - blockchain infrastructure for decentralised apps
- Olga Chinina - Github
- Marco Galizzi - Github
- Leon Hollender - Github
- Adria Palleja - Github
- Nathalia Rus - Github
Contributions Welcome! This is an on-going project and external input and ideas will be gladly recieved!
This project is licensed under the MIT License, take it, have fun.