Sidecountry is an apparel shopping web app styled to be mobile-first. This repo is the Reviews Service element of the app which showcases my skill set in Web Scale and Back-end optimization.
The app provides stats and commentary from previous customers as well as the ability to contribute additional reviews, mark as helpful, and flag reviews.
I was given a legacy Front-end codebase and tasked with designing a scalable back-end that could maintain performance/resilience under production-level traffic.
- High level deliverables:
- Built an API to support CRUD operations to fit legacy code that conform to REST standards
- Ensured the UI continued to function as I re-engineered the server layer
- Horizontally scaled the deployed app on AWS Round-Robin load balancers and optimized performance under load to meet the following benchmarks:
- Response time: 50(ms)
- Requests Per Second: 500+
- Error rate: < 1%
- Emulated scenarios of production-level traffic by:
- Generated a simulated dataset of more than 10 million realistic JSON/BSON records
- Stress tested queries with randomized data in the final 10% of this huge dataset
- Stress tested queries that utilize thorough scenario coverage via Artillery.io load tester
Prerequisites: NodeJS and Xcode
Clone the Github repository:
$ git clone https://github.com/sidecountry-shop/reviewsService.git
cd into the directory 'reviewsService' and run the following commands:
$ npm install
$ npm start
Now, navigate to http://localhost:3004 in your browser
- React
- Node.js
- Express
- MongoDB