Skip to content
Snippets Groups Projects
Commit 78d5f16e authored by Sebastian Mihalache's avatar Sebastian Mihalache
Browse files

added the faraday server package

parent e3ac79bc
No related branches found
No related tags found
No related merge requests found
Showing
with 62 additions and 0 deletions
{
"name": "xpub-faraday-server",
"version": "0.0.1",
"description": "xpub configured for faraday",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://gitlab.coko.foundation/xpub/xpub"
},
"dependencies": {
"body-parser": "^1.17.2",
"config": "^1.26.1",
"moment": "^2.18.1",
"nodemailer": "^4.0.1"
},
"peerDependencies": {
"@pubsweet/logger": "^0.0.1",
"pubsweet-server": "^1.0.1",
"pubsweet": "^1.1.1",
"pubsweet-client": "^1.1.1"
}
}
const AuthorBackend = app => {
app.get('/api/author', (req, res, next) => {
console.log(app)
res.status(400).json({ error: 'Username must be specified' })
})
}
module.exports = AuthorBackend
module.exports = {
server: () => app => require('./AuthorBacked')(app),
}
{
"pubsweet-client": {
"API_ENDPOINT": "/api",
"login-redirect": "/",
"redux-log": false
},
"authsome": {
"mode": "/Users/sebi/Work/xpub/packages/xpub-faraday/config/authsome.js",
"teams": {}
},
"validations": "/Users/sebi/Work/xpub/packages/xpub-faraday/config/validations.js"
}
MANIFEST-000002
2018/01/10-12:49:58.611387 70000e61a000 Delete type=3 #1
File added
File added
MANIFEST-000007
2018/01/10-14:08:52.018050 700008326000 Recovering log #6
2018/01/10-14:08:52.018366 700008326000 Level-0 table #8: started
2018/01/10-14:08:52.018731 700008326000 Level-0 table #8: 691 bytes OK
2018/01/10-14:08:52.019493 700008326000 Delete type=0 #6
2018/01/10-14:08:52.019619 700008326000 Delete type=3 #4
2018/01/10-13:57:40.119745 7000120ea000 Recovering log #3
2018/01/10-13:57:40.120013 7000120ea000 Level-0 table #5: started
2018/01/10-13:57:40.120334 7000120ea000 Level-0 table #5: 339 bytes OK
2018/01/10-13:57:40.121089 7000120ea000 Delete type=0 #3
2018/01/10-13:57:40.121247 7000120ea000 Delete type=3 #2
File added
File added
MANIFEST-000094
2018/01/10-16:44:33.243474 700006ff1000 Recovering log #93
2018/01/10-16:44:33.246183 700006ff1000 Delete type=0 #93
2018/01/10-16:44:33.246360 700006ff1000 Delete type=3 #92
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment