const express = require ('express');
const profile = express.Router();
const profileController = require('../controllers/profile-controller');

profile.get('/',(req,res)=>{
    res.send("this is the -profile route");
});

module.exports =  profile;
const express = require ('express');
const profile = express.Router();
const profileController = require('../controllers/profile-controller');

profile.get('/',profileController.getProfile);
profile.post('/',profileController.createProfile);

module.exports =  profile;
Add route for creating a profile
Add route for creating a profile
