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

[Feature] New Building Type Backend #183

Open
4 tasks
avayedawadi opened this issue Sep 17, 2023 · 0 comments
Open
4 tasks

[Feature] New Building Type Backend #183

avayedawadi opened this issue Sep 17, 2023 · 0 comments
Assignees
Labels
backend feature New feature or request refactoring

Comments

@avayedawadi
Copy link
Contributor

Description

  • Ability to build an entirely new building type.
  • Admin user should be able to click a button to add a new building type (in addition to the already existing multifamily, single family, and commercial building types) with its own set of cards.
  • Need to alter the MongoDB to allow a new building type to be inserted.
  • For this ticket, just worry about getting everything set up in the database, and having everything work on a theoretical level on the backend. We will worry about having everything show up nicely in the frontend later. Database and backend refactoring is the bulk of this ticket.
  • Contact EM for help as needed, this is a complex ticket. Please ask for extra time as needed if school or life is getting into a crunch.

image
In the end, the admin should be able to add building types to this page

Acceptance Criteria

  • API/Backend for adding a new building type works.
  • Database has been adjusted for entirely new building types to be added.
  • A new building type can contain its own set of cards.
  • Only admin can edit building types

Other Notes

  • Right now the building type is just a constant in the way that it is stored in the backend.
  • Potentially, the adjustment will need to be made for the building type to have its own schema in order to then be something added to and taken away from the database.
  • If you would like to go ahead and get started on the frontend, feel free, but just worry about the backend and the database schemas for now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend feature New feature or request refactoring
Projects
None yet
Development

No branches or pull requests

2 participants