npm install
Run db.sql in project root
NODE_ENV = development
SERVER_PORT = 3000
DB_HOST = ''
DB_NAME = ''
DB_USERNAME = ''
DB_PASSWORD = ''
npm run dev
Description | Route | Method | Body |
---|---|---|---|
Fetch All Schools | /schools | GET | |
Fetch Single School | /schools/:id | GET | |
Create School | /schools/ | POST | { "name": String, "address": String, "phone": String } |
Update School | /schools/:id | PUT | { "name": String, "address": String, "phone": String } |
Delete School | /schools/:id | DELETE |
- Setup sequelize migrations
- Create student model, controller & routes
- Create instructor model, controller & routes
- Create course model, controller & routes
- Create department model, controller & routes