Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anishsinha-io/testsocialnetwork
Very very basic social network. Nothing special. This is just practice for fourseveneight
https://github.com/anishsinha-io/testsocialnetwork
Last synced: 24 days ago
JSON representation
Very very basic social network. Nothing special. This is just practice for fourseveneight
- Host: GitHub
- URL: https://github.com/anishsinha-io/testsocialnetwork
- Owner: anishsinha-io
- Created: 2021-08-10T15:19:31.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-22T19:43:54.000Z (over 3 years ago)
- Last Synced: 2024-11-08T12:17:37.893Z (3 months ago)
- Language: TypeScript
- Size: 528 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.