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

20 new endpoints for trees #29

Open
wants to merge 12 commits into
base: develop
Choose a base branch
from
Open

Conversation

jojayama
Copy link
Collaborator

Developer: Jodi Yamane

Closes #20

Pull Request Summary

Create the endpoints to add trees, edit trees, fetch trees, fetch a specific tree and to delete a tree.

Modifications

treeSchema.ts, src/app/api/tree/route.ts, src/app/api/tree/[treeID]/

Testing Considerations

I used postman to test every endpoint. Please make sure it works on your machine as well just in case it only worked on my local machine.

Pull Request Checklist

  • Code is neat, readable, and works
  • Comments are appropriate
  • The commit messages follows our guidelines
  • The developer name is specified
  • The summary is completed
  • Assign reviewers

Screenshots/Screencast

GETReq
^^Get all trees
PUTReq
^^Edit a tree
DELETEReq
^^Delete a tree
POSTReq
^^Create a new tree
GETONEReq
^^Get a specific tree

@jojayama jojayama linked an issue Feb 11, 2025 that may be closed by this pull request
5 tasks
@jojayama jojayama self-assigned this Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New endpoints for trees
1 participant