Skip to content

Commit

Permalink
feat(): add validations
Browse files Browse the repository at this point in the history
feat(): add validations

feat(): add tests for create actions for rest

feat(): add tests for create actions for rest

feat(): add delete and read tests

feat(): add update tests

feat(): add corrections to rest package and also rest tests

feat(): add corrections to rest package and also rest tests
  • Loading branch information
bobbylemm authored and Frantz Kati committed Dec 12, 2020
1 parent 83b18d0 commit 0908618
Show file tree
Hide file tree
Showing 15 changed files with 17,135 additions and 42 deletions.
11 changes: 10 additions & 1 deletion examples/blog/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module.exports = tensei()
.verifyEmails()
.teams()
.apiPath('auth')
// .noCookies()
.noCookies()
.rolesAndPermissions()
.social('github', {
key: process.env.GITHUB_KEY,
Expand All @@ -73,6 +73,15 @@ module.exports = tensei()
secret: process.env.LINKEDIN_SECRET,
})
.plugin(),
graphql()
.subscriptions(new RedisPubSub())
.middlewareOptions({
cors: {
credentials: true,
origin: ['http://localhost:3001'],
},
})
.plugin(),
media().plugin(),
graphql().plugin(),
rest().plugin(),
Expand Down
Loading

0 comments on commit 0908618

Please sign in to comment.