mirror of
https://github.com/koodiklinikka/koodiklinikka.fi-api.git
synced 2026-01-26 03:34:03 +00:00
f783a27045402a24efe92f116f25469dfd72215e
* remove newrelic from use in devenv * add endpoint for membership payments * fix some wierd spaces * minor code styling and logging stuff * replace non-breaking spaces with normal ones * remove duplicate function * minor code styling * add functionality for writing new member to google sheets * add config example * update example config, start using config in google credentials * remove var creds from google sheets auth * rename config.example to config.template and fix readme * add async and google-spreadsheet packages * rename workingWithRows to addRow * return missing header from readme * minor code styling * flatten google config structure, add address fields * add request validation to membership endpoint * fix config field names * more error handling, fix indentation
koodiklinikka.fi API
Start developing
-
Install Node.js with your preferred installation method.
-
Clone the repository and install dependencies.
$ git clone git@github.com:koodiklinikka/koodiklinikka.fi-api.git $ cd koodiklinikka.fi-api $ npm install -
Create
config.jsonfile. See config.template.json for possible options. The config file consists of environment specific blocks. Environment variableNODE_ENVdetermines which block is used. If the environment variable is not present, thedevelopmentblock will be selected.allblock 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
Description
Languages
JavaScript
99.9%
Procfile
0.1%