-
Install Node.js with your preferred installation method.
-
Clone the repository and install dependencies.
$ git clone [email protected]:koodiklinikka/koodiklinikka.fi-api.git $ cd koodiklinikka.fi-api $ npm install
-
Create
config.json
file. See config.template.json for possible options. The config file consists of environment specific blocks. Environment variableNODE_ENV
determines which block is used. If the environment variable is not present, thedevelopment
block will be selected.all
block is always used and the block selected is merged into it so that it overwrites the values defined in it. -
Start the development environment.
$ npm start