hatgit / marketplace-server

Serves offers for the kin ecosystem client SDK

Home Page:https://medium.com/kinfoundation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kin ecosystem Marketplace server

Disclaimer

Any data that appears in the repo does not reflect real partnerships or product integrations. We use real company names and products for the sole sake of mocking data to populate our SDK client.

Install/Run

Clone this repo, and then in a terminal:

marketplace-server> npm i
marketplace-server> npm run restart

Development

Please make sure that you follow the code conventions which are described/enforced by the IDE and tslint.
In any jetbrains based IDE (webstorm, pycharm, intellij, etc):

  • Code style

    1. Go to the Preferences > Editor > Code Style
    2. Click the small gears icon besides the Scheme drop down box
    3. Import Scheme > IntelliJ IDEA code style XML
    4. Select the code_style_scheme.xml file in the root of this project.
  • TSLint

    1. Go to Preferences > Languages & Frameworks > TypeScript > TSLint
    2. Check the Enable box
    3. Make sure that the Search for tslint.json options is selected under Configuration file.

Testing

For testing, first make sure that the files are compiled:

marketplace-server> npm run build

Or, if you want to avoid the clean and lint part:

marketplace-server> npm run transpile

After the scripts are compiled, run the tests:

marketplace-server> npm test

About

Serves offers for the kin ecosystem client SDK

https://medium.com/kinfoundation


Languages

Language:TypeScript 97.1%Language:HTML 2.1%Language:Makefile 0.5%Language:JavaScript 0.3%