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

Complete Categories API Go Implementation #2

Open
lgarofalo opened this issue May 18, 2023 · 1 comment
Open

Complete Categories API Go Implementation #2

lgarofalo opened this issue May 18, 2023 · 1 comment
Assignees

Comments

@lgarofalo
Copy link
Member

lgarofalo commented May 18, 2023

There is a mostly done implementation in the repo currently. We should do these things:

  1. Verify all routes and logic from those different HTTP method have been migrated over. Rout]

Route Definitions
Rails: https://github.com/ShelterTechSF/askdarcel-api/blob/master/config/routes.rb#L7-L13
Go: https://github.com/ShelterTechSF/sheltertech-go/blob/main/cmd/sheltertech-go/main.go#L30-L33

  1. Complete automated tests to cover all those changes

Couple examples here: https://github.com/ShelterTechSF/sheltertech-go/blob/main/cmd/sheltertech-go/integration_test.go

They do require having the DB from the Rails repo running, we may need to chat about that setup.

@waynekoepcke
Copy link
Contributor

### Remaining APIs
- [ ] GET /categories/counts
- [ ] GET /categories/hierarchy
- [ ] POST /categories
- [ ] PATCH /categories/id
- [ ] PUT /categories/id
- [ ] DELETE /categories/id

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

No branches or pull requests

3 participants