- web-backend - Spring boot project for back end.
- web-fronted - Angular4 project for front end.
- smart-contracts - Truffle project. Used to handle contract deployment/management.
Backend is based on JVM stack. Spring 4
navigate to web-backend folder and run: gradle bootRun
For local development, in memmory database will be automatically started.
In order to deploy frontend:
- Ethereum network must be running and accesible at localhost:8545. In order to achieve that start private network, or testrpc
- After starting etherium network start frontend application in web-frontend module with commands: npm run clean_start Clean start will compile, deploy and fetch contracts, and integrate them into angular app and deploy frontend application. (To run this task Ethereum network must be accessible, for contract deployment) npm run start Will only deploy angular application. Use when contracts were previously compiled/deployed etc, and no changes were made.