Membership registration & payment API (#4)

* 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
This commit is contained in:
Cihan Bebek
2017-07-08 22:23:16 +03:00
committed by Riku Rouvila
parent 181a48c0f6
commit f783a27045
8 changed files with 167 additions and 16 deletions

View File

@@ -19,14 +19,19 @@
"homepage": "https://github.com/koodiklinikka/koodiklinikka.fi-api",
"dependencies": {
"apicache": "0.0.12",
"async": "^2.5.0",
"bluebird": "^2.9.3",
"body-parser": "^1.10.1",
"cors": "^2.7.1",
"express": "^4.11.0",
"google-spreadsheet": "^2.0.4",
"joi": "^10.6.0",
"lodash": "^3.10.1",
"moment": "^2.18.1",
"morgan": "^1.5.1",
"newrelic": "^1.18.0",
"node-twitter": "0.5.2",
"stripe": "^4.23.1",
"superagent": "^0.21.0",
"validator": "^3.27.0"
}