Supplier switching for EV Drivers
Contains the following packages:
Name | Description |
---|---|
emsp-backend |
NestJS server that manages EV Driver charging sessions over the OCN |
ev-charging-app |
Customer-facing mobile/web application for managing supplier credentials and initiating charging sessions |
Before installing, download and install Node.js. Node.js 14 (LTS) or higher is required. NPM 8.3.2 or higher is also required.
For development, we use Docker, including docker-compose
.
This monorepo uses lerna.
Installation is done using the following commands:
$ npm install
$ npm run init
$ npm run build
$ npm run update
$ docker-compose up # requires docker-compose
Next, run the setup script to create your local OCN and register the eMSP backend with the OCN Node:
node scripts/setup.js
The docker network persists data in volumes (ganache state, OCN Node DB, eMSP
Backend DB). Running docker-compose down
will reset the state on future
restarts.
$ npm run test
To build the EMSP Backend:
$ cd packages/emsp-backend
$ docker build -t emsp-backend .
To build the EV Charging App:
$ cd packages/ev-charging-app
$ npm run build
The static files in the build
directory can then be served.
When running the container, please refer to the required environment variables.
See contributing.md
For questions and support please use Energy Web's Discord channel
Or reach out to our contributing team members
The Energy Web Decentralized Operating System is a blockchain-based, multi-layer digital infrastructure.
The purpose of EW-DOS is to develop and deploy an open and decentralized digital operating system for the energy sector in support of a low-carbon, customer-centric energy future.
We develop blockchain technology, full-stack applications and middleware packages that facilitate participation of Distributed Energy Resources on the grid and create open market places for transparent and efficient renewable energy trading.
To learn about more about the EW-DOS tech stack, see our documentation.
For an overview of the energy-sector challenges our use cases address, go here.
For a deep-dive into the motivation and methodology behind our technical solutions, we encourage you to read our White Papers:
This project is licensed under the GNU General Public License v3.0 or later - see the LICENSE file for details