Skip to content

Latest commit

 

History

History
executable file
·
46 lines (30 loc) · 1.29 KB

README.md

File metadata and controls

executable file
·
46 lines (30 loc) · 1.29 KB

AirJordans: Reviews System Design

System design of reviews microservice inherited from a legacy-codebase for a short-term lodging listing page. Listings range from 1 to 10 million where 1 listing has about 4 reviews. This microservice can sustain about 40 million reviews with a 1200 request per second and 130ms latency.

screen shot 2018-07-14 at 2 32 11 pm

Related Projects

Table of Contents

  1. Usage
  2. Requirements
  3. Development

Usage

Some usage instructions apply. See Development.

Requirements

An nvmrc file is included if using nvm.

  • Node 6.13.0
  • etc

Development

Installing Dependencies & Getting Started

From within the root directory:

npm install -g webpack
npm install
npm run react-dev
cd database/postgres
node generatorPSQL.js
\i /Users/{your_user_account}/Desktop/review-module/schema.sql
npm run serve

Navigate to http://localhost:3003/listings/1/ in your browser.