/smart-api

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

SMART-API

Tech

Installation

Recommended to use Node.js v6+ to run the project.

Install the dependencies and devDependencies and start the server.

$ cd smart-api
$ yarn

Development

Want to contribute? Great!

Please, first configure ./server/src/config/database.js file or use configured variables before running commands.

  • To run the app in development mode:
$ yarn run dev
  • Running the app in production mode:
$ yarn run build
$ yarn start
  • Running tests:
$ yarn test
  • Running loadtest:

You need to start the server and run the tests on another terminal.

$ yarn loadtest