Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solve security issues in back end #119

Merged
merged 2 commits into from
Sep 26, 2023
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
10 changes: 9 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@
"node/exports-style": ["error", "module.exports"],
"node/no-unsupported-features/es-syntax": ["off"],
"node/no-exports-assign": "error",
"node/no-deprecated-api": 2
"node/no-deprecated-api": 2,
"node/no-unpublished-import": [
"error",
{
"allowModules": [
"graphql-depth-limit"
]
}
]
}
}
3 changes: 2 additions & 1 deletion env/local.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ CONNECTION_URL=mongodb://127.0.0.1:27017/my-pets
JWT_SECRET=thisIsMyLocalSecret
CRYPT_SECRET=mySecretLocalItIs
CRYPT_METH=Rabbit
API_VERSION=0.1.18
CRYPT_SALT=8
API_VERSION=0.2.8
API_ENVIRONMENT=LOCAL
PLAYGROUND_URL=http://localhost:4000/graphql
REPOISTORY_URL=https://github.com/NicolasOmar/my-pets-api
Expand Down
3 changes: 2 additions & 1 deletion env/test.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ CONNECTION_URL=mongodb://127.0.0.1:27017/my-pets-test
JWT_SECRET=thisIsMyTestSecret
CRYPT_SECRET=mySecretTestItIs
CRYPT_METH=Rabbit
API_VERSION=0.1.18
CRYPT_SALT=8
API_VERSION=0.2.8
API_ENVIRONMENT=TESTING
PLAYGROUND_URL=http://localhost:4001/graphql
REPOISTORY_URL=https://github.com/NicolasOmar/my-pets-api
Expand Down
Loading