File tree 6 files changed +186
-199
lines changed
6 files changed +186
-199
lines changed Original file line number Diff line number Diff line change 4
4
"private" : true ,
5
5
"scripts" : {
6
6
"babel-node" : " babel-node --presets env" ,
7
- "dev " : " nodemon --exec npm run babel-node -- ./bin/www"
7
+ "start " : " nodemon --exec npm run babel-node -- ./bin/www"
8
8
},
9
9
"dependencies" : {
10
+ "babel-cli" : " ^6.26.0" ,
10
11
"babel-preset-env" : " ^1.6.1" ,
11
12
"bcrypt-nodejs" : " ^0.0.3" ,
12
13
"body-parser" : " ~1.18.2" ,
Original file line number Diff line number Diff line change 1
1
import jwt from 'jwt-simple'
2
- import { JWT_SECRET } from '../config /passport' ;
2
+ import { JWT_SECRET } from '../services /passport' ;
3
3
import User from '../models/user' ;
4
4
5
5
const tokenForUser = ( user ) => {
Original file line number Diff line number Diff line change 1
1
import { Router } from 'express' ;
2
- import passport from '../config /passport' ;
2
+ import passport from '../services /passport' ;
3
3
import * as AuthenticationController from '../controllers/auth.controller' ;
4
4
5
5
Original file line number Diff line number Diff line change 1
1
import { Router } from 'express' ;
2
- import passport from '../config /passport' ;
2
+ import passport from '../services /passport' ;
3
3
import * as SurveyController from '../controllers/survey.controller' ;
4
4
5
5
File renamed without changes.
You can’t perform that action at this time.
0 commit comments