The header and the sidebar module that displays course information
- https://github.com/teamName/repo
- https://github.com/teamName/repo
- https://github.com/teamName/repo
- https://github.com/teamName/repo
- Start database in terminal: mysql.server start
- In a separate tab in terminal, seed database
npm run seed - In a separate tab in terminal, run server:
npm start - In a separate tab in terminal, run webpack:
npm run build - hosted on localhost:3003
- Install dependies: npm install
- Have >=mysql 5.7.23 downloaded
##API Routes:
| Route/endpoint | Description | Method |
|---|---|---|
| /courses/:id/ | get all data for a single course | GET |
| /courses/ | get all data for all courses | GET |
| /courses/:id/ | delete all data for a single course | DELETE |
| /courses/:id/ | update data for a single course | PATCH |
| /courses/ | add a new course | POST |
From within the root directory:
npm install