@devlander/findanherb-axios-module
v1.0.8
Published
endpoints to findanherb
Downloads
9
Readme
Naming convention for routes
- Name the beginning of the method after the https method you are using. For example, if you are using a post request for a user to login, name the method postLoginUser
Database naming conventions
- Any NEW variables in the database mongodb schema should be camelCase
Folder structure
- src
- endpoints
- (model-endpoint-name-in-snakecase) it should be singular, for example. It should be herb, not herbs
- dto
- enums
- models
- res
- (model-endpoint-name-in-snakecase) it should be singular, for example. It should be herb, not herbs
- endpoints