{"repo":"parenthesin/microservice-boilerplate-malli","free":true,"listed":false,"github":"https://github.com/parenthesin/microservice-boilerplate-malli","clone":"git clone https://github.com/parenthesin/microservice-boilerplate-malli.git","description":"Clojure Microservice Boilerplate: Components, Reitit, Pedestal, Malli, Postgresql and Tests","language":"Clojure","stars":15,"topics":["testing","clojure","postgres","boilerplate","malli","microservice"],"license":"Unlicense","category":"saas-starters-boilerplates","readme_excerpt":"microservice-boilerplate-malli Clojure Microservice Boilerplate: Components, Reitit, Pedestal, Malli, Postgresql and Tests. About this example - microservice-boilerplate : An example of how use the boilerplate, it's a simple btc wallet that fetch the current btc price in USD and you can check your transaction history, do deposits and withdrawals. - parenthesin/components: Helpers and component wrappers to give a foundation to create new services in clojure, you can find components for database, http, webserver and tools for db migrations. Verb URL Description ----- ----------------------- ------------------------------------------------ GET /wallet/current-btc-usd get current btc price in usd GET /wallet/history get all wallet entries and current total POST /wallet/deposit do a deposit in btc in the wallet POST /wallet/withdrawal do a withdrawal in btc in the wallet if possible Repl To open a nrepl To open a nrepl with all test extra-deps on it Run dev To open a dev nrepl Then, eval for instrument malli. Malli instrumentation enables input/output validation and clj-kondo lint annotations. Run Tests To run unit tests inside ./test/unit To run integration tests inside ./test/integration To run all tests inside ./test To generate a coverage report Lint fix and format Migrations To create a new migration with a name To execute all pending migrations To rollback the latest migration See Migratus Usage for documentation on each command. Docker Start containers with postgres user: p","default_branch":null,"files":null,"tree":[],"storefront":"/r/parenthesin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/parenthesin/microservice-boilerplate-malli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}