Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,450 changes: 2,139 additions & 311 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions packages/gateway/.env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SIGNLAB_URI=<SIGNLAB BACKEND GRAPHQL ENDPOINT>
AUTH_URI=<AUTH MICROSERVICE GRAPHQL ENDPOINT>
LEX_URI=<LEX SERVICE BACKEND ENDPOINT>
14 changes: 14 additions & 0 deletions packages/gateway/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
root: true,
extends: "../.eslintrc.js",
parserOptions: {
project: 'tsconfig.json',
tsconfigRootDir : __dirname,
sourceType: 'module',
},
env: {
node: true,
jest: true,
},
ignorePatterns: ['.eslintrc.js'],
};
3 changes: 3 additions & 0 deletions packages/gateway/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dist/
node_modules/
.env
3 changes: 3 additions & 0 deletions packages/gateway/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
...require('../.prettierrc.js'),
}
13 changes: 13 additions & 0 deletions packages/gateway/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM node:18-alpine

# Copy over the source
WORKDIR /usr/src/gateway
COPY . .
RUN npm install && \
npm run build

# Expose the endpoint
EXPOSE 3002

# Run the production build
CMD npm run start:prod
5 changes: 5 additions & 0 deletions packages/gateway/nest-cli.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "https://json.schemastore.org/nest-cli",
"collection": "@nestjs/schematics",
"sourceRoot": "src"
}
Loading