changed the whole structure

This commit is contained in:
2023-10-01 03:34:35 +02:00
parent 99dc9d3e93
commit e32b25845e
40 changed files with 7489 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
const express = require('express');
const authController = require('../controllers/auth');
const router = express.Router();
router.post('/inscription' , authController.register);
router.post('/connexion' , authController.login);
router.get('/deconnexion' , authController.logout)
module.exports = router ;