Commits on Source (5)
-
Yannis Barlas authoredc6c07e46
-
jgutix authored33659f42
-
Yannis Barlas authored
feat(middleware): add middleware for authorization See merge request !1
d0432f92 -
Yannis Barlas authored815eefc5
-
Yannis Barlas authored9773acd3
Showing
- CHANGELOG.md 12 additions, 0 deletionsCHANGELOG.md
- README.md 44 additions, 1 deletionREADME.md
- authorization.js 21 additions, 0 deletionsauthorization.js
- package.json 3 additions, 1 deletionpackage.json
- src/app.js 13 additions, 8 deletionssrc/app.js
- src/graphqlApi.js 1 addition, 1 deletionsrc/graphqlApi.js
- src/graphqlSchema.js 11 additions, 0 deletionssrc/graphqlSchema.js
- yarn.lock 100 additions, 0 deletionsyarn.lock
authorization.js
0 → 100644
{ | ||
"name": "@coko/server", | ||
"version": "0.1.0", | ||
"version": "1.0.0", | ||
"description": "A tweaked version of pubsweet-server for use by Coko's projects", | ||
"main": "src/index.js", | ||
"scripts": { | ||
... | ... | @@ -32,6 +32,8 @@ |
"cookie-parser": "^1.4.5", | ||
"cors": "^2.8.5", | ||
"express": "^4.17.1", | ||
"graphql-middleware": "^4.0.2", | ||
"graphql-shield": "^7.2.6", | ||
"helmet": "^3.22.0", | ||
"http-status-codes": "^1.4.0", | ||
"lodash": "^4.17.15", | ||
... | ... |
src/graphqlSchema.js
0 → 100644