1.0.8 • Published 7 months ago

@devlander/findanherb-axios-module v1.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months ago

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