/beckn-gateway

Primary LanguageHaskellGNU Affero General Public License v3.0AGPL-3.0

beckn-gateway

See nammayatri's backend README for general instructions on Nix-based development.

Running

To run this project locally,

# This will spin up two processes: beckn-gateway and mock-registry
nix run .#run

To run the docker-compose containers (that the above processes depend on):

nix run .#arion

Development

To autoformat and run other pre-commit checks, run:

# NOTE: This must be run from `nix develop` shell
pre-commit run

You can force running pre-commit on all file as follows:

# NOTE: This must be run from `nix develop` shell
pre-commit run -a