fac-17 / BGIP

Pearls of Wisdom (week 8)
https://perls-of-wisdom.herokuapp.com/
0 stars 3 forks source link

Pearls of Wisdom by Reuben, Emaggy, Gigi and Leonie - Week 8

Team

Reuben 🎻 Emaggy 🤴🏿 Gigi :raising_hand: Leonie :baby:

Photographer: Gigi

The app

Pearls of Wisdom is a quote taking app that allows users to log quotes and add them to an account/ group. Users can create a new account or use an existing account to add quotes to.

Code of conduct

Milestones

Wednesday morning: Wireframe, file structure Wednesday afternoon: Repo, server, database Thursday morning: client side requests and handlebar Thursday afternoon: CSS

Wireframes

Install

npm install
npm test
npm run nodemon

OR

npm start

To-Dos

Stretch Goal

File structure

FORM ENDPOINT AND RENDERING

router.post('/submitquote', (req, res) => {
  res.render("quote", {quotesArrayFromDatabase}
  })
})

quotes.hbs

<ul>
  {{#each quotesArrayFromDatabase}}
  <li>{{author}}{{quote}}<li>
  {{/each}}
</ul>

Slides

What we struggled with?