Skip to content

Latest commit

 

History

History
77 lines (63 loc) · 1.6 KB

README.md

File metadata and controls

77 lines (63 loc) · 1.6 KB

Airbnb Listing Details Service

GitHub Logo

The Airbnb Listing Details Service is part of a larger project that uses a service oriented architecture to combine multiple services into one application via a proxy server.

This particular service manages the detail data related to an individual property and serves up the associated HTML, CSS, and React components.

Related Projects

Proxy Server

Other Services

Table of Contents

  1. Requirements
  2. Installation
  3. Development
  4. Deployment
  5. Technology

Requirements

  • Node 6.13.0
  • Mongo
  • Docker
  • CircleCI

Installation

From within the root directory:

npm install
npm run seed

Development

From within the root directory, run the following commands in separate terminal windows:

npm run react-dev
npm run server-dev

Deployment

Docker Deployment

Create a new local image:

npm run bundle
npm run image

Push the image to Docker Hub:

docker push maxmilpro/detailsservice

Run the app in a local container:

docker-compose up

Technology

Front-End

  • React
  • Styled-Components

Back-End

  • Express
  • Mongo

Testing + CI/CD

  • Jest
  • Enzyme
  • CircleCI

Deployment

  • Docker