This repo contains an app to post classifieds by the terraformers to audience in a certain broadcast range. One can choose to bid on a classified.
Check it out here
PROBLEM: Needed to work with location for proximity and filter out audience for a classified SOLUTION: Turns out mongodb has support for geoJSON
PROBLEM: Once the bids or audience of a classified grows it will become slower to filter them out. SOLUTION: Used extended reference pattern in schema design for classified
- I used extended reference pattern in schema design but it has not been implemented properly in APIs.
- A user can submit same bid multiple times, which can be a potential issue.
- Get Classifieds will pagination when app scales
- Classifieds route and my Classifieds will need pagination on scale
- Forms can be improved for UX
Initial Phase : A monolith and a db with proper indexes. Phase 1 : A Monolith with read replicas Phase 2 : Move to microservices the project structure is in accordance with that. Phase 3 : Maybe use caching / sharding