Skip to content

rezauldev/general-forum

Repository files navigation

<% if (ensureAuthenticated) { %>

  • Logout
  • <% } else { %>
  • Login
  • Signup
  • <% } %>

    This is bold text

    This text is italicized

    This was mistaken text

    ##################################

    <% if(!user) { %>

    Create your account here! Sign Up

    <% } %>

    ###########################################

    <%= user.name %>

    ######################################## if(email.match !== validateEmail()){ errors.push({ msg:'Email is not valid' }) }

    ############################## Check password length... if(password.length < 6){ errors.push({ msg:'Password should be at least 6 characters' }) }

    ###############################

    Forum Topic:
    — No forum — Technology Food City Product

    ###############################

    Notify me of follow-up replies via email

    ############################### route.post('/ask-question', (req, res) => { const { title, description, tags } = req.body; const askQuestion = new Question({ title, description, tags }) askQuestion.save() .then(item => { res.redirect('/'); }) .catch(err => console.log(err)); console.log(req.body); })

    <%= user.name.charAt(0).toUpperCase() %>

    <%= user.date %>

    About

    No description, website, or topics provided.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published