Skip to content

A prototype of online social welfare platform on Ethereum Blockchain.

License

Notifications You must be signed in to change notification settings

nikitaeverywhere/initiative-society

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Initiative Society

Build Status

A prototype of online social welfare platform on Ethereum Blockchain.

This platform is a prototype of online service, where people can create any geo-bound initiatives (like planting flowers, cleaning garbage, etc), vote for them, crowdfund or complete them.

This project is under development.

Setup

To set up the development project, you have to have NodeJS v8+ installed. First, clone and initialize the repository:

git clone --recursive https://github.com/ZitRos/initiative-society
cd initiative-society
npm run init

If you have problems (most likely on Windows) when executing npm run init, try installing required build tools with npm install --global windows-build-tools.

Then you need to launch 3 different servers: backend (GraphQL), frontend (Angular) and Truffle emulated network. Launch them in different terminal windows and do not close them. Follow the instructions below to do so.

Launching Ethereum Node

For testing, you can launch the developer's test Ethereum network (prefix the next command with win- on windows):

npm run win-testnet

In the prompt, type migrate and do not close this console/terminal.

Launching Static Backend

Static backend serves large files and content, checksum of which is recorded into the Blockchain, so the client always knows whether that content is not tampered.

To run the server, do the following:

npm run server

When the server is run for the first time, it will populate some data to the test network.

Launching Frontend

Run the following:

npm run start

This will start an angular frontend app. After this, navigate to http://localhost:4200. Boom!

About

A prototype of online social welfare platform on Ethereum Blockchain.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published