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

EPIC: Frontend for Schools CRUD (some of which can be done in parallel) #4

Closed
13 tasks done
github-actions bot opened this issue May 15, 2024 · 0 comments · Fixed by #45
Closed
13 tasks done

EPIC: Frontend for Schools CRUD (some of which can be done in parallel) #4

github-actions bot opened this issue May 15, 2024 · 0 comments · Fixed by #45
Assignees
Labels

Comments

@github-actions
Copy link

github-actions bot commented May 15, 2024

User Story

  • As an admin
  • I can do Create/Read/Update/Destroy operations on schools
  • So that I can manage the Schools

Discussion

The backend CRUD for the schools table is already implemented; you can find the code in the controllers, and test them on either localhost or swagger. However, as of right now, the frontend is not there.

Your job is to implement a frontend as in team03 for the schools table.

Acceptance Criteria

  • There is a menu option for an admin to get to the schools index page where all of the schools are listed
  • There is an option on that page to create a new school
  • There is an edit button for schools that takes me to school edit page where I can edit schools
  • There is an delete button for schools that deletes a school

Implementation Todos

F1: Frontend School Implementation

F1.1: Building create button

  • Make the "create school" button work.
  • Link the create school button to correct API and make a SchoolCreate.js page for that.
  • Make sure it's actually creating a school

F1.2: Building Edit button

  • Link the edit school button to correct API and make a SchoolEdit.js page for that.
  • Make sure it actually allows you to update a school

F1.3: Building Delete button

  • Delete button appears
  • Link the Delete school button to correct API.
  • Make sure it's actually allows you to delete a school

B1: Bugs in Backend:

B1.1: Update API

  • You should not be able to update to the school abbrev if it used as the primary key. If it is not used as the primary key perhaps it should be (similar to UCSBOrganizations in team03).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants