Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

kenziebottoms/nss-back-02-sandcastle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sequelize Sandcastles

Run locally

git clone [email protected]:kenziebottoms/nss-back-02-sandcastle.git
cd nss-back-02-sandcastle
npm install
npm start

Requirements

  • Create the following models:
    • Beach
    • Lifeguard
    • Castle
      • id
      • description
      • tool_id
      • beach_id
  • Create JSON for and seed the following tables:
    • beaches
    • lifeguards
    • castles

Bonus

  • Create a simple Express app with the following routes:
    • /beaches
    • /beaches/:id/lifeguards
    • /lifeguards
    • /castles