Everyone's favorite computer scientist has decided to start her own pizza chain, and she needs your help creating a website!
- A pizza "database" object (and some pictures of pizza)
- The file structure you'll be using, with comments
- An
app.js
with some things you'll need to fill in, with comments - Some tests to help you along the way :)
- run
npm install
to install all the dependencies inpackage.json
- Following the steps that we used today during the lecture, add the following views:
- index / homepage
- list of all pizzas
- individual pizzas
- These should be populated with information from the pizza object
- Every once in a while, quit the process you started with
npm run dev
and runnpm test
to check out how you're doing. - Try the bonus described in
routes/pizza.js
!! - If you're proud of where you get, put the lab on ngrok and slack it to J :)
- You can work in pairs or groups for this lab.