Skip to content

nammayatri/beckn-gateway

Repository files navigation

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