Skip to content

Commit e1222ba

Browse files
committed
SDKs
1 parent e6e01f7 commit e1222ba

File tree

333 files changed

+25433
-154
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

333 files changed

+25433
-154
lines changed

.env.example

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Never commit .env files publicly. They should be in .gitignore file to prevent this
2+
3+
### REQUIRED
4+
# Get QUANTIMODO_ACCESS_TOKEN @ from "Access Token" line at https://app.quantimo.do/api/v2/account
5+
QUANTIMODO_ACCESS_TOKEN=
6+
# Get QUANTIMODO_CLIENT_ID @ https://builder.quantimo.do
7+
QUANTIMODO_CLIENT_ID=
8+
9+
### OPTIONAL
10+
ANALYTICS_PROVIDER=
11+
ANALYTICS_TRACKING_ID=
12+
APP_DEBUG=true
13+
APP_ENV=local
14+
APP_HOST_NAME=
15+
APP_LOG_LEVEL=INFO
16+
AWS_ACCESS_KEY_ID=
17+
AWS_SECRET_ACCESS_KEY=""
18+
BUGSNAG_API_KEY=
19+
GITHUB_ACCESS_TOKEN=
20+
HEROKU_API_KEY=
21+
ELECTRON_ENABLE_LOGGING=
22+
SLACK_WEBHOOK_URL=
23+
24+

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ src/css/app.css
131131
src/css/app.min.css
132132

133133
secrets/*
134-
!/secrets/.env.example
134+
.env*
135+
!.env.example
135136
/.gradle/
136137
/ionic.iml
137138
/cypress/reports/merged/mochawesome.json
@@ -143,3 +144,5 @@ debug.log
143144
/cypress/fixtures/get/some-path-param=hi.json
144145
/cypress/reports/mocha/
145146
/cypress/fixtures/get/api/
147+
148+

docs/api-documentation.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
### Updating API Documentation
2+
3+
You can edit [docs/open-api-v3.yaml](open-api-v3.yaml) with [Stoplight](https://crowdsourcingcures.stoplight.io/).
4+
5+
Then regenerate the client using `npm run openapi` (defined in [package.json](../package.json)).
6+
7+
8+
9+

docs/contributing.md

Lines changed: 86 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1,84 +1,86 @@
1-
# Contributing
2-
3-
We love pull requests and would be very grateful if you'd help us abolish suffering with data!
4-
5-
[ ] [Fork](https://help.github.com/articles/fork-a-repo/) a copy of the repo to your own Github account.
6-
7-
[ ] [Clone](https://help.github.com/articles/cloning-a-repository/) your forked version of the repo locally.
8-
(Ideally, use a powerful GUI git client like [SourceTree](https://www.sourcetreeapp.com/). The command line is for barbarians.)
9-
10-
If you must use the command line, you can use these:
11-
12-
```
13-
git clone [email protected]:your-username/quantimodo-android-chrome-ios-web-app.git
14-
```
15-
16-
Set up a branch for your feature or bugfix with a link to the original repo:
17-
18-
```
19-
git checkout -b my-awesome-new-feature
20-
git push --set-upstream origin my-awesome-new-feature
21-
git remote add upstream https://github.com/QuantiModo/quantimodo-android-chrome-ios-web-app.git
22-
```
23-
24-
Commit changes:
25-
26-
```
27-
git commit -m "Cool stuff"
28-
```
29-
30-
Make sure your branch is up to date with the original repo:
31-
32-
```
33-
git fetch upstream
34-
git merge upstream/master
35-
```
36-
37-
Review your changes and any possible conflicts and push to your fork:
38-
39-
```
40-
git push origin
41-
```
42-
43-
[Submit a pull request on Github.com](https://help.github.com/articles/creating-a-pull-request/).
44-
45-
At this point you're waiting on me. I do my best to keep on top of all the pull requests.
46-
I may suggest some changes, improvements or alternatives.
47-
48-
Some things that will increase the chance that your pull request is accepted:
49-
50-
- Write tests.
51-
- Write a [good commit message](http://chris.beams.io/posts/git-commit/).
52-
- Make sure the PR merges cleanly with the latest master.
53-
- Describe your feature/bugfix and why it's needed/important in the pull request description.
54-
55-
## Editor Config
56-
57-
The project uses [.editorconfig](http://editorconfig.org/) to define the coding
58-
style of each file. We recommend that you install the Editor Config extension
59-
for your preferred IDE. Consistency is key.
60-
61-
## JSHint
62-
63-
The project uses [.jshint](http://jshint.com/docs) to define the JavaScript
64-
coding conventions. Most editors now have a JSHint add-on to provide on-save
65-
or on-edit linting.
66-
67-
### Install JSHint for vim
68-
69-
1. Install [jshint](https://www.npmjs.com/package/jshint).
70-
1. Install [jshint.vim](https://github.com/wookiehangover/jshint.vim).
71-
72-
### Install JSHint for Sublime
73-
74-
1. Install [Package Control](https://packagecontrol.io/installation)
75-
1. Restart Sublime
76-
1. Type `CMD+SHIFT+P`
77-
1. Type _Install Package_
78-
1. Type _JSHint Gutter_
79-
1. Sublime -> Preferences -> Package Settings -> JSHint Gutter
80-
1. Set `lint_on_load` and `lint_on_save` to `true`
81-
82-
Tips
83-
84-
- I recommend using [SourceTree and the Gitflow model] (https://github.com/GSoft-SharePoint/Dynamite/wiki/Getting-started-with-SourceTree,-Git-and-git-flow) for development.
1+
# Contributing
2+
3+
We love pull requests and would be very grateful if you'd help us abolish suffering with data!
4+
5+
[ ] [Fork](https://help.github.com/articles/fork-a-repo/) a copy of the repo to your own Github account.
6+
7+
[ ] [Clone](https://help.github.com/articles/cloning-a-repository/) your forked version of the repo locally.
8+
(Ideally, use a powerful GUI git client like [SourceTree](https://www.sourcetreeapp.com/). The command line is for
9+
barbarians.)
10+
11+
If you must use the command line, you can use these:
12+
13+
```
14+
git clone [email protected]:your-username/quantimodo-android-chrome-ios-web-app.git
15+
```
16+
17+
Set up a branch for your feature or bugfix with a link to the original repo:
18+
19+
```
20+
git checkout -b my-awesome-new-feature
21+
git push --set-upstream origin my-awesome-new-feature
22+
git remote add upstream https://github.com/QuantiModo/quantimodo-android-chrome-ios-web-app.git
23+
```
24+
25+
Commit changes:
26+
27+
```
28+
git commit -m "Cool stuff"
29+
```
30+
31+
Make sure your branch is up to date with the original repo:
32+
33+
```
34+
git fetch upstream
35+
git merge upstream/master
36+
```
37+
38+
Review your changes and any possible conflicts and push to your fork:
39+
40+
```
41+
git push origin
42+
```
43+
44+
[Submit a pull request on Github.com](https://help.github.com/articles/creating-a-pull-request/).
45+
46+
At this point you're waiting on me. I do my best to keep on top of all the pull requests. I may suggest some changes,
47+
improvements or alternatives.
48+
49+
Some things that will increase the chance that your pull request is accepted:
50+
51+
- Write tests.
52+
- Write a [good commit message](http://chris.beams.io/posts/git-commit/).
53+
- Make sure the PR merges cleanly with the latest master.
54+
- Describe your feature/bugfix and why it's needed/important in the pull request description.
55+
56+
## Editor Config
57+
58+
The project uses [.editorconfig](http://editorconfig.org/) to define the coding
59+
style of each file. We recommend that you install the Editor Config extension
60+
for your preferred IDE. Consistency is key.
61+
62+
## JSHint
63+
64+
The project uses [.jshint](http://jshint.com/docs) to define the JavaScript
65+
coding conventions. Most editors now have a JSHint add-on to provide on-save
66+
or on-edit linting.
67+
68+
### Install JSHint for vim
69+
70+
1. Install [jshint](https://www.npmjs.com/package/jshint).
71+
1. Install [jshint.vim](https://github.com/wookiehangover/jshint.vim).
72+
73+
### Install JSHint for Sublime
74+
75+
1. Install [Package Control](https://packagecontrol.io/installation)
76+
1. Restart Sublime
77+
1. Type `CMD+SHIFT+P`
78+
1. Type _Install Package_
79+
1. Type _JSHint Gutter_
80+
1. Sublime -> Preferences -> Package Settings -> JSHint Gutter
81+
1. Set `lint_on_load` and `lint_on_save` to `true`
82+
83+
### Tips
84+
85+
- I recommend using [SourceTree and the Gitflow model] (https://github.com/GSoft-SharePoint/Dynamite/wiki/Getting-started-with-SourceTree,-Git-and-git-flow) for development.
86+

0 commit comments

Comments
 (0)