Last active
March 15, 2023 00:40
-
-
Save nrctkno/80901fda03cf7e6d6c23d327620e3270 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
1. Exception handlers | |
- Handle Exception hierarchy and translate into suitable HTTP response codes (or whatever the protocol is) | |
2. SRP | |
- One file per user story | |
- Fight against query hell | |
3. Materialize inputs and outputs (requests and responses) | |
3. Achieve a clear separation of config files | |
- External services | |
- Data stores | |
- Constants | |
4. Don't fall into common arch antipatterns | |
- database as an IPC | |
5. As much async as possible | |
- Get a clear notion about how a specific use case works/would work in a real life scenario | |
6. As much parallelization as possible |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment