-{ "title": "Inventory Manager API", "header": { "title": "README", "content": "<p><a href=\"https://github.com/standard/standard\"><img src=\"https://cdn.rawgit.com/standard/standard/master/badge.svg\" alt=\"JavaScript Style Guide\"></a></p>\n<h1>Inventory Manager</h1>\n<p>The inventory manager is an <a href=\"https://github.com/colucom/osseus\">osseus</a> based server implementation for community currency issuers.</p>\n<p>It provides blockchain reflection of offchain activities on community currencies issued against the <a href=\"https://cln.network/\">CLN</a>.</p>\n<h2>Dependencies</h2>\n<p>To make sure that the following instructions work, please install the following dependencies\non you machine:</p>\n<ul>\n<li>Node.js (comes with a bundled npm)</li>\n<li>Git</li>\n<li>MongoDB</li>\n</ul>\n<h2>Installation</h2>\n<p>To get the source of <code>inventory-manager</code>, clone the git repository via:</p>\n<pre><code>$ git clone https://github.com/ColuLocalNetwork/inventory-manager\n</code></pre>\n<p>This will clone the complete source to your local machine.</p>\n<p>Navigate to the project folder and install all needed dependencies via <strong>npm</strong>:</p>\n<pre><code>$ npm install\n</code></pre>\n<p>This commands installs everything which is required for building and testing the project.</p>\n<h2>Developing</h2>\n<h3>Run locally: <code>npm run dev</code></h3>\n<p>This task will run the application and start listening on port <code>8080</code>.</p>\n<p>Under the hood, we use a complete <a href=\"https://github.com/colucom/osseus\">osseus</a> stack.</p>\n<p>You will find the local configuration at <a href=\"https://github.com/ColuLocalNetwork/inventory-manager/blob/master/config/LOCAL.js\">LOCAL.js</a>.</p>\n<h2>Configuration</h2>\n<p>See <a href=\"https://github.com/ColuLocalNetwork/inventory-manager/blob/master/CONFIGURATION.md\">tutorial</a>.</p>\n<h2>Getting Started</h2>\n<p>See <a href=\"https://github.com/ColuLocalNetwork/inventory-manager/blob/master/GETTING-STARTED.md\">tutorial</a>.</p>\n<h2>Notifications</h2>\n<p>See <a href=\"https://github.com/ColuLocalNetwork/inventory-manager/blob/master/NOTIFICATIONS.md\">tutorial</a>.</p>\n<h2>Testing</h2>\n<h3>Source linting</h3>\n<p><code>npm run lint</code> performs a lint for all source code using <a href=\"https://standardjs.com/\">standard js</a>.</p>\n<h3>Unit testing</h3>\n<p><code>npm test</code> executes (as you might think) the unit tests, which are located\nin <a href=\"https://github.com/ColuLocalNetwork/inventory-manager/blob/master/test\"><code>test</code></a>.</p>\n<h4>Enable a lot of transactions test</h4>\n<p>Before running <code>npm test</code> you should:</p>\n<pre><code>$ export A_LOT_OF_TXS={n}\n</code></pre>\n<p><em><strong>Notes</strong></em></p>\n<ul>\n<li><code>{n}</code> is number of transactions to test</li>\n<li>There's a 1 second delay between each blockchain transaction so be patient :)</li>\n</ul>\n<p>The task uses <a href=\"https://truffleframework.com/\">truffle framework</a>.</p>\n<h2>Contributing</h2>\n<p>Please see <a href=\"https://github.com/ColuLocalNetwork/inventory-manager/blob/master/.github/CONTRIBUTING.md\">contributing guidelines</a>.</p>\n<h2>License</h2>\n<p>Code released under the <a href=\"https://github.com/ColuLocalNetwork/inventory-manager/blob/master/LICENSE\">MIT License</a>.</p>\n" }, "name": "inventory-manager", "version": "1.0.0", "description": "The inventory manager is a server implementation for community currency issuers", "sampleUrl": false, "defaultVersion": "0.0.0", "apidoc": "0.3.0", "generator": { "name": "apidoc", "time": "2018-12-11T11:25:27.626Z", "url": "http://apidocjs.com", "version": "0.17.6" }}
0 commit comments