Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.74 KB

README.md

File metadata and controls

34 lines (22 loc) · 1.74 KB

Treasury app

This is an application to interact with a treasury module of Substrate based networks.

This repo contains:

  • backend
    • database which keeps contextual data
    • event listener to track on-chain updates
    • REST API with documentation
    • React frontend application available on

Testing env

We have a testing environment set up. You can register and play with the app:

Running

In order to run a standalone treasury app, open terminal and do:

  • cd deploy
  • docker-compose --file docker-compose.development-docker.yml up

This will run the frontend and the backend together with PostgreSQL database, authentication core and a local Polkadot node (in development mode) in docker containers. After the booting process is finished, open your web browser and go to http://localhost:3001/.

Development

In order to start development you will have to start backend server and frontend locally. To run backend and frontend in development mode (without running them inside docker containers) check the corresponding readme files.