Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anishsinha-io/testsocialnetwork2
After I completely broke the original
https://github.com/anishsinha-io/testsocialnetwork2
Last synced: about 1 month ago
JSON representation
After I completely broke the original
- Host: GitHub
- URL: https://github.com/anishsinha-io/testsocialnetwork2
- Owner: anishsinha-io
- Created: 2021-08-22T20:25:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-23T00:21:07.000Z (over 3 years ago)
- Last Synced: 2024-11-08T12:17:38.282Z (3 months ago)
- Language: TypeScript
- Size: 495 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# testsocialnetwork
## ISSUES WITH THIS THAT WOULD BE FIXED IN A REAL PROJECT:
1. Since this is a practice project, the authentication middleware is done using JWT. In a real application, this will be replaced with a more robust authentication library
2. The likes indexing is highly inefficient. In a real application, indexes will be created so that binary search can easily be implemented
3. In production, factory functions would be created to refactor the code.
4. All the route parameters are fucking ugly. This would be fixed.
5. The types for everything aren't perfect. This would be fixed in production.