This repository contains an API that connects to the distributed Storage and Blockchain network from the i3-Market architecture.
- API: Loopback 4
- Database: CockroachDB
- Blockchain: BESU
Please make sure you have the following installed and running properly
- Docker and Docker Compose
Edit variables from env.example.
cp env.example .env
nano .env
Then, launch the docker compose to build images and start the container.
docker compose up -d
By default, these are the URLs of each component.
- API: http://localhost:3000
- DB Dashboard: http://localhost:8080
To access the database exec:
docker compose exec -it cockroach cockroach sql --insecure
Production procedures are automated with Gitlab CI/CD and AWX. To update deployment, just make a MR to pro branch.
Jose Luis Muñoz jose.luis.munoz@upc.edu
Pull requests are always appreciated.
EUPL