git clone [email protected]:kenziebottoms/nss-back-02-sandcastle.git
cd nss-back-02-sandcastle
npm install
npm start
- Create the following models:
- Beach
- Lifeguard
- Castle
-
id
-
description
-
tool_id
-
beach_id
-
- Create JSON for and seed the following tables:
- beaches
- lifeguards
- castles
- Create a simple Express app with the following routes:
-
/beaches
-
/beaches/:id/lifeguards
-
/lifeguards
-
/castles
-