Skip to content

Team-Structure/reviews-service

Repository files navigation

Reviews Service

A service that handles and displays the review information on a product page.

Related Projects

Table of Contents

  1. Requirements
  2. Usage
  3. Development

Requirements

  • Node.js
  • MongoDB

Usage

  1. Clone this repo and go to its root directory.
  2. Run npm install to install its dependencies.
  3. After the dependencies are installed, seed the database with npm run db:seed
  4. Once the database is seeded, run npm run build:dev to build the browser components.
  5. After building the components, run npm run start:dev to start the application.
  6. You will then be able to access the app at localhost:3001/products/{product_id} where {product_id} is the Product ID number.

The database seeding script npm run db:seed seeds Product ID numbers between 1 - 100 so going to http://localhost:3001/products/1 will show review information for the Product with a Product ID of 1.

Development

If you would like to contribute to this project, please fork this repository and propose your changes via a Pull Request.

You can install the project's dependencies by going to the root directory of the project and running npm install.

Currently Developed using...

  • Node v12.18.3
  • npm v6.14.6
  • MongoDB v4.4

Dependencies

  • Express
  • React/React Router/react-onclickoutside
  • Styled-Components
  • Mongoose

Development Dependencies

  • Webpack/Babel
  • Jest/Enzyme/SuperTest/Mongodb-Memory-Server
  • ESLint w/ Airbrb Style Guide

Refer to package.json file in the root directory for dependency version numbers.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages