{"repo":"parenthesin/microservice-boilerplate","free":true,"listed":false,"github":"https://github.com/parenthesin/microservice-boilerplate","clone":"git clone https://github.com/parenthesin/microservice-boilerplate.git","description":"Clojure Microservice Boilerplate: Components, Reitit, Pedestal, Schema, Postgresql and Tests","language":"Clojure","stars":46,"topics":["clojure","testing","boilerplate","microservice","postgresql","schema"],"license":"Unlicense","category":"saas-starters-boilerplates","readme_excerpt":"microservice-boilerplate Clojure Microservice Boilerplate: Components, Reitit, Pedestal, Schema, 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 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: postgres, password: postgres, hostname: db, port: 5432 and pg-admin email: pg@pg.cc, password: pg, port: 5433 Stop containers Running the server First you","default_branch":null,"files":null,"tree":[],"storefront":"/r/parenthesin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/parenthesin/microservice-boilerplate/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."}