Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.03 KB

README.md

File metadata and controls

39 lines (25 loc) · 1.03 KB

SkyBnb - Reviews

Microservice which handles all the reviews for a specific Skybnb household

Related Projects

Table of Contents

  1. Requirements
  2. Development
  3. Usage

Requirements

  • MongoDB version 4.0.3 installed

Development

Installing Dependencies

From within the root directory:

npm install

Usage

Seeding the Database

From the root directory of this service, run npm run seed-data. This will generate all the sample data for the reviews.

Building the Client

From the root directory of this service, run npm run build. This will generate bundle.js in the client/dist directory.

Running the Server

From the root directory of this service, run npm run start. This will start up a localhost on port 3001 with the client files. Open a web browser and visit http://localhost:3001/.