Skip to content

Commit

Permalink
Merge pull request #10 from cilasmarques/develop
Browse files Browse the repository at this point in the history
Add auth verification
  • Loading branch information
yovanycunha authored Oct 8, 2020
2 parents d25b2f6 + 17a3e90 commit 2b5e02d
Show file tree
Hide file tree
Showing 14 changed files with 1,178 additions and 1,978 deletions.
3 changes: 3 additions & 0 deletions config/auth.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"secret" : "c6805a79b10793418cffd0f18ffbe265"
}
6 changes: 4 additions & 2 deletions config/router.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
const taskController = require('../src/task/task.controller');
const authController = require('../src/auth/auth.controller');
const userController = require('../src/user/user.controller');
const taskController = require('../src/task/task.controller');
const nucleController = require('../src/nucle/nucle.controller');

module.exports = (app) => {
app.use('/task', taskController);
app.use('/auth', authController);
app.use('/user', userController);
app.use('/task', taskController);
app.use('/nucle', nucleController);
};
Loading

0 comments on commit 2b5e02d

Please sign in to comment.