Skip to content

airJordans/review-module

 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.3%
  • HTML 0.7%