1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-08 23:10:05 +00:00

test(auth): added for authorize + token

This commit is contained in:
Saad Jutt
2021-11-02 18:42:06 +05:00
parent f7e0849148
commit b48e674468
8 changed files with 895 additions and 50 deletions

View File

@@ -6,9 +6,10 @@ import { InfoJWT } from '../../types'
import driveRouter from './drive'
import stpRouter from './stp'
import userRouter from './user'
import authRouter, { connectDB } from './auth'
dotenv.config()
import authRouter from './auth'
connectDB()
const router = express.Router()