This repository has been archived by the owner on Jun 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from gekko-org/backend_fix
Backend fix
- Loading branch information
Showing
25 changed files
with
3,541 additions
and
424 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
functions/node_modules | ||
docker-mount | ||
functions/lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
node_modules | ||
functions/node_modules | ||
docker-mount | ||
auths | ||
.idea | ||
pj-marowd-key.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM node:10-alpine | ||
|
||
WORKDIR /app | ||
|
||
# install Firebase CLI Tools | ||
RUN npm install -g firebase-tools eslint | ||
ADD config.json /root/.config/configstore/@google-cloud/functions-emulator/config.json | ||
COPY . . | ||
RUN cd functions && \ | ||
npm install | ||
# settings for runtime emulator | ||
ENV HOST 0.0.0.0 | ||
ENV GOOGLE_APPLICATION_CREDENTIALS "/app/pj-marowd-key.json" | ||
EXPOSE 5000 | ||
|
||
# settings for Firebase login | ||
EXPOSE 9005 | ||
|
||
# i can deploy with firebase deploy --token $TOKEN | ||
# firebase serve -o 0.0.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"bindHost": "0.0.0.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:prettier/recommended", | ||
"prettier/@typescript-eslint" | ||
], | ||
"plugins": [ | ||
"@typescript-eslint" | ||
], | ||
"env": { "node": true, "es6": true }, | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"sourceType": "module", | ||
"project": "./tsconfig.json" | ||
}, | ||
"rules": { | ||
// for @kanade9 DBに渡るときスネークケースなので強制キャメルケース制約をOFFにしました。 | ||
"@typescript-eslint/camelcase": ["error", { "properties": "never" } ] | ||
} | ||
} |
Oops, something went wrong.