Skip to content

iridiumdev/Iridium-IRD-Webwallet-core

Repository files navigation

webwallet-core

This is the Iridium webwallet server implementation (the core).

server

Dev requirements

  • go 1.11
  • go dep
  • mongodb 4.x
  • node v10.14.x + npm v6.4.x
  • @angular/cli v7.0.x
  • docker v18.x

Not yet, but later for sure

  • docker-compose v1.21.0+

Running the server

Create the docker network for the satellites:

docker network create webwallet

Build the frontend with:

npm install -g @angular/cli
npm install

ng build --aot [--watch]

Run mongodb, e.g. as a docker container:

docker run -d --name mongo -p 27017:27017 mvertes/alpine-mongo

To start the backend just run the main.go file:

dep ensure
go run main.go

Running integration tests

Run mongodb, e.g. as a docker container:

docker run -d --name mongo -p 27017:27017 mvertes/alpine-mongo

Run the go tests

go test -v