Skip to content

Commit

Permalink
functions framework integration
Browse files Browse the repository at this point in the history
  • Loading branch information
giall committed Nov 22, 2019
1 parent d7ae34f commit e38557b
Show file tree
Hide file tree
Showing 17 changed files with 366 additions and 89 deletions.
21 changes: 0 additions & 21 deletions .env.example

This file was deleted.

7 changes: 6 additions & 1 deletion .gcloudignore
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
app.yaml
.env
env.yaml
# used to run app locally
main.js
# mailjet.transporter.js is used instead
transporter/smtp.transporter.js
1 change: 1 addition & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ jobs:
- name: Generate code coverage report
uses: codecov/codecov-action@v1
with:
NODE_ENV: 'ci'
token: ${{ secrets.CODECOV_TOKEN }}
7 changes: 2 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@ node_modules/
dist/
coverage/

.env
.vscode/

db.sqlite

.idea

app.yaml
.env
env.yaml
21 changes: 21 additions & 0 deletions example.env.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
APP_NAME: Hecate
APP_EMAIL: [email protected]

MONGODB_URL: example.mongodb.net/db
MONGODB_NAME: hecatedb
MONGODB_USER: user
MONGODB_PASSWORD: password

# levels: debug > info > warn > error > silent
LOG_LEVEL: info

# if using SmtpTransporter class for sending email
SMTP_HOST:
SMTP_USER:
SMTP_PASS:

# if using MailJetTransporter class for sending email
MJ_APIKEY_PUBLIC: publicApiKey
MJ_APIKEY_PRIVATE: privateApiKey

JWT_SECRET: myJwtAccessTokenSecret
Binary file removed favicon.ico
Binary file not shown.
Loading

0 comments on commit e38557b

Please sign in to comment.