Skip to content

Add Assignment Section and Course Section to the App #27

@jpobzy

Description

@jpobzy

Feature request


What can we add or improve?

Schema

-assignment_section_id
-assignement_id (FK Assignment)
-section_id (FK Section)
-start_offset (number of minutes. can be negative) [Controls the start time eg. starts 10 minutes after the start of lab so the TAs have time to introduce the assignment)
-end_offset

Checklist

To add assignments to the app, all of the following will be needed.

  • model
    • how to represent the fields above in the database
  • router
    • Create paths for CRUD (Create, Retrieve, Update, Delete) for assignments and routes to the appropriate controller function
  • validator
    • Checks the request for proper formatting, existence of all required fields, etc. Used when the user is creating or updating an assignment to ensure the data is valid
  • controller
    • Handles the web requests and prepares the data of a response to the user
    • Defers to the service for core functionality
  • service
    • The core functionality of the app. For this issue, it will just forward the CRUD commands to the database
  • serializer
    • Receives the response data from the controller, as a assignment object following your model, and formats it into a JSON string for FE consumption
  • testing
    • Write tests modeled after User tests to ensure that you feature works properly

Please use the User code as an example of all of these aspects.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions