Last active
February 25, 2024 12:38
-
-
Save Mohammad-Faisal/3ba37a40a17f9ca8116222149f85de52 to your computer and use it in GitHub Desktop.
Backend Project Checklist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When creating a backend project we need to ensure that all of these basic things are implemented. | |
* First choose a suitable file structure | |
* Add swagger | |
* Add Environment for development and production (at least) | |
* Enable Cors | |
* Add schema based request validator | |
* Implement throwing Custom Exception | |
* Add Global Exception Handling | |
- Handle Database Exception | |
- Handle Request Validation Exception | |
- Handle Custom Exception | |
- Handle Custom ErrorCodes and ErrorMessages | |
* Add BaseRequest BaseResponse BaseEntity CustomException BaseSuccessResponse and BaseErrorResponse Classes | |
* Implement Logger | |
* Add Dockerfile to run the project in docker | |
* Ensure Database Connectivity | |
* Implement Basic Authentication |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment