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

Backend - Resource CRUD endpoint implementation #325

Closed
4 tasks done
rburaksaritas opened this issue Oct 17, 2023 · 4 comments · Fixed by #363
Closed
4 tasks done

Backend - Resource CRUD endpoint implementation #325

rburaksaritas opened this issue Oct 17, 2023 · 4 comments · Fixed by #363
Assignees
Labels
effort: level 7 How much effort is needed for this task priority: medium Issue is of medium importance, can be fixed in a reasonable time required: feature Requiring new feature to be developed / existing feature to be updated state: assigned This task is currently assigned to a contributor

Comments

@rburaksaritas
Copy link
Contributor

rburaksaritas commented Oct 17, 2023

Description

Backend CRUD endpoints for Resource must be implemented:

  • POST: Creating resource.
  • GET: Reading resource.
  • PUT: Updating resource.
  • DELETE: Deleting resource.

Ensure endpoints have validation and return appropriate status codes as stated in the API convention document.

Deadline

25.10.2023

@busetolunay busetolunay added required: feature Requiring new feature to be developed / existing feature to be updated state: assigned This task is currently assigned to a contributor priority: medium Issue is of medium importance, can be fixed in a reasonable time effort: level 7 How much effort is needed for this task labels Oct 17, 2023
@rburaksaritas rburaksaritas linked a pull request Oct 21, 2023 that will close this issue
@rburaksaritas
Copy link
Contributor Author

CRUD endpoints for resources, along with the resource_model are implemented on #363.

@busetolunay
Copy link
Contributor

initialQuantity: int = Field(default=None) unsuppliedQuantity: int = Field(default=None)
We defined the initialQuantitiy and currentQuantitiy fields in the class diagram of resource. Does unsupplied quantity corresponds to the currentQuantity or is there a typo in the code ?

@rburaksaritas
Copy link
Contributor Author

@busetolunay yes, i confused Resource with Need i guess. :) Let me fix that, thanks.

@rburaksaritas
Copy link
Contributor Author

initialQuantity: int = Field(default=None) unsuppliedQuantity: int = Field(default=None)
We defined the initialQuantitiy and currentQuantitiy fields in the class diagram of resource. Does unsupplied quantity corresponds to the currentQuantity or is there a typo in the code ?

fixed, please git pull origin BE/feature/resource for the changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort: level 7 How much effort is needed for this task priority: medium Issue is of medium importance, can be fixed in a reasonable time required: feature Requiring new feature to be developed / existing feature to be updated state: assigned This task is currently assigned to a contributor
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants