this repo has no description
1* Payment Gateway 2 3 4** Getting started 5 6*** Prerequisites 7 8- [[https://hurl.dev][hurl]] :: CLI tool that runs http requests, similar to curl 9- [[https://docs.docker.com/desktop/][docker]] :: Using docker to run project and mocks 10- [[https://just.systems/][just]] :: CLI runner 11- [[https://jqlang.org/][jq]] :: (Optional) CLI tool to query JSON data 12 13If you're using nix, you can find a flake in the root of the project and run =nix develop= to download all the tools (or allow [[https://direnv.net/][direnv]] to auto import in your path) 14 15*** Usage 16 17Run docker compose to start mocks, the mocks will use ports =8002= and =8003= and the were created using [[https://github.com/mrak/stubby4node][stubby4node]] 18 19#+begin_src shell 20docker compose up 21#+end_src 22 23In another terminal, bulid and run the project with =just=, it will start the project in port =8000= 24 25#+begin_src shell 26just run 27#+end_src 28 29In other terminal, make the request with hurl 30 31#+begin_src shell 32hurl request.hurl 33#+end_src 34 35In case you want to see the response with json format, you can use jq 36 37#+begin_src shell 38hurl request.hurl | jq . 39#+end_src 40 41** Tests 42 43To run all tests, you can run the command that it will run all tests from the project: 44 45#+begin_src shell 46just test 47#+end_src