bsoc-bitbyte / bsoc-bitbyte/busify

Code Practices

Open
#12 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
42
Forks
75
PR merge metrics
No merged PRs in 30d

Description

- [ ] Create a folder repository and all executions with database to be done in repository files (for ex: create auth.repo.ts and create find user, create user functions in there and use in the auth service file) , we can also create a base repository file in future then adding basic functions there.
- [ ] Always create DTOs (classes or interfaces ) for function payload (and for controller functions , validation will also be done by them).
- [ ] Do not use env files directly (just not convenient to use caps), create a file envconfig.ts ,pull all the variables there and use it from there.
- [ ] Naming : Try to name in a way that it is both descriptive and not to long (ex: Function getMe can be renamed to getCurrentUserData.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.