1.0.1 • Published 7 months ago
findanherb-axios-module v1.0.1
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
1.0.1
7 months ago