Giter Site home page Giter Site logo

wepower-mvp's Introduction

We Power

Modules.

  • 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

Backend is based on JVM stack. Spring 4

Local environment setup

navigate to web-backend folder and run: gradle bootRun

For local development, in memmory database will be automatically started.

Frontend

Local environment setup

In order to deploy frontend:

  1. Ethereum network must be running and accesible at localhost:8545. In order to achieve that start private network, or testrpc
  2. 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.

wepower-mvp's People

Contributors

ibobinas avatar valkimavicius avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.