Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Assignment Section and Course Section to the App #27

Open
7 tasks
jpobzy opened this issue Jul 22, 2021 · 0 comments
Open
7 tasks

Add Assignment Section and Course Section to the App #27

jpobzy opened this issue Jul 22, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jpobzy
Copy link
Contributor

jpobzy commented Jul 22, 2021

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.

@jpobzy jpobzy added the enhancement New feature or request label Jul 22, 2021
@jpobzy jpobzy changed the title Add Assignment Section to the App Add Assignment Section and Course Section to the App Jul 23, 2021
@jpobzy jpobzy self-assigned this Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant