Skip to content

team-coco/highlights

Repository files navigation

Chompy - Highlights

This microservice highlights the most popular keywords in a business's reviews and displays them on the page.

Related Projects

Table of Contents

  1. Usage
  2. Requirements
  3. Development

Usage

Requirements

An nvmrc file is included if using nvm.

  • Node 9.8.0
  • etc

Development

Installing Dependencies

From within the root directory:

$ npm install -g webpack
$ npm install

Starting Webpack and Running Server

From within the root directory:

$ npm start

Open Chrome, and PROFIT!

You can render businesses of id n where n is between 1-10,000,000:

http://localhost:3003/main/highlights/ssr/id
http://localhost:3003/api/highlights/ssr/id

Example: render restaurant of id n=122:

http://localhost:3003/main/highlights/ssr/122
http://localhost:3003/api/highlights/ssr/122

Note: when deploying, change port to default 80 - example:

http://18.144.61.172/main/highlights/ssr/122
http://18.144.61.172/api/highlights/ssr/122

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published