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

[NOTE] STANDARDS!! #17

Open
Firestone82 opened this issue Jan 18, 2024 · 4 comments
Open

[NOTE] STANDARDS!! #17

Firestone82 opened this issue Jan 18, 2024 · 4 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@Firestone82
Copy link
Member

Firestone82 commented Jan 18, 2024

Use REST API standards

-> no /api .. you are already requestion an API url so there is no point to another /api/ in path
-> url formating .. everything is in plural, even if you get specific id

https://www.freecodecamp.org/news/rest-api-best-practices-rest-endpoint-design-examples
https://blog.stoplight.io/rest-api-standards-do-they-even-exist

@Firestone82 Firestone82 added the bug Something isn't working label Jan 18, 2024
@rcMarty
Copy link
Member

rcMarty commented Jan 23, 2024

I guess it's done.
Any other recommendations or problems with endpoints?
@Firestone82

@Firestone82
Copy link
Member Author

Try to look on better way to configs:
https://www.baeldung.com/spring-properties-file-outside-jar

Im not sure of your current configuration way.
Application properties should be allways fully editable. So by mooving it away,
and leaving default in resources is best way.

@Firestone82
Copy link
Member Author

image
😅

@Firestone82 Firestone82 added documentation Improvements or additions to documentation and removed bug Something isn't working labels Jan 28, 2024
@Firestone82 Firestone82 changed the title [BUG] STANDARDS!! [NOTE] STANDARDS!! Jan 28, 2024
@Firestone82 Firestone82 pinned this issue Jan 28, 2024
@Firestone82
Copy link
Member Author

https://www.geeksforgeeks.org/what-is-the-difference-between-put-post-and-patch-in-restful-api/
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants