Skip to content

Instantly share code, notes, and snippets.

@Lahirutech
Last active June 13, 2022 17:56
Show Gist options
  • Save Lahirutech/b8ecfcca639cbc2d8dfe48dfb50d1823 to your computer and use it in GitHub Desktop.
Save Lahirutech/b8ecfcca639cbc2d8dfe48dfb50d1823 to your computer and use it in GitHub Desktop.
// newProfile function for post profile data
const newProfile = (req, res, next) => {
res.json({message: "Post new Profile"});
};
// newProfile function to get profile data
const getProfile=(req,res,next)=>{
res.json({message: "get profile data"});
}
module.exports = {newProfile,getProfile};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment