Skip to content

Sidecountry is a shopping web app. This repo is the Reviews Service of the app which showcases my skillset in Web Scale and Back-End Optimization. The API is built with node.js/express and a mongoDB database loaded with 10 million uniquely generated records in order to emulate production-level traffic for stress testing and optimization.

Notifications You must be signed in to change notification settings

sidecountry-shop/reviewsService

 
 

Repository files navigation

Sidecountry Shop

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.

Intro Image

The app provides stats and commentary from previous customers as well as the ability to contribute additional reviews, mark as helpful, and flag reviews.

My Contribution to this Project

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

System Design / Web Scale Metrics

New Relic APM

Intro Image

Artillery.io

Intro Image

Related Projects

Getting Started

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

Built With

  • React
  • Node.js
  • Express
  • MongoDB

About

Sidecountry is a shopping web app. This repo is the Reviews Service of the app which showcases my skillset in Web Scale and Back-End Optimization. The API is built with node.js/express and a mongoDB database loaded with 10 million uniquely generated records in order to emulate production-level traffic for stress testing and optimization.

Topics

Resources

Stars

Watchers

Forks

Languages

  • JavaScript 85.5%
  • CSS 12.0%
  • HTML 1.7%
  • Other 0.8%