-
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.
* chore: setup .vscode and .husky * feat: setup Postgres and GraphQL (WIP) * feat: integrate Postgres to GraphQL API * feat: add Auth module * feat: add Auth session handling * feat: add signIn mutation * feat: add signOut mutation * feat: add AuthGuards
- Loading branch information
1 parent
cce636f
commit 07fc6c6
Showing
42 changed files
with
20,290 additions
and
90 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,17 @@ | ||
NODE_ENV=development | ||
PORT=3000 | ||
|
||
SESSION_SECRET=a3ab20c8b130e6a10d52e7e18babb20b01e9aa6f63fc0935df2415074111feeb208dff0 | ||
SESSION_COOKIE_NAME=siwe-fractalflows-session | ||
|
||
INFURA_PROJECT_ID=899ced2f235145cdbf1fcd9342eac446 | ||
|
||
TYPEORM_CONNECTION = postgres | ||
TYPEORM_HOST = abul.db.elephantsql.com | ||
TYPEORM_USERNAME = kmeehvyb | ||
TYPEORM_PASSWORD = enCOv3UV3npE8taixW-Xiwhf5dFW7mt7 | ||
TYPEORM_DATABASE = kmeehvyb | ||
TYPEORM_PORT = 5432 | ||
TYPEORM_SYNCHRONIZE = true | ||
TYPEORM_LOGGING = true | ||
TYPEORM_ENTITIES = dist/src/modules/**/entities/*.js |
Empty file.
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,5 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn format | ||
yarn lint |
Empty file.
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,9 @@ | ||
{ | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnPaste": true, | ||
"editor.formatOnSave": true, | ||
"editor.tabSize": 2, | ||
"files.insertFinalNewline": true, | ||
"javascript.updateImportsOnFileMove.enabled": "always", | ||
"typescript.updateImportsOnFileMove.enabled": "always" | ||
} |
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,4 +1,5 @@ | ||
{ | ||
"collection": "@nestjs/schematics", | ||
"sourceRoot": "src" | ||
"sourceRoot": "src/modules", | ||
"entryFile": "src/main" | ||
} |
Oops, something went wrong.