Skip to content

Eponaaaa/reviews-service

Repository files navigation

Etsy Review Service

Review Service for Craftsy product page

Reviews UI

Related Projects

Table of Contents

  1. Getting Started
  2. Prerequesites
  3. Installation
  4. Usage
  5. License
  6. Tech Framework used

Getting Started

These are the steps to get up and running with my service 👍

Prerequesites

Make sure you have installed the following prerequesites on your development machine:

Installation

  • Clone repository

git clone https://github.com/Eponaaaa/service-Epona-melvin.git

  • Install dependencies

npm install

Usage

  • Create index.js in the config directory

    • In your config/index.js add the following code, with your own credentials:
    module.exports = {
      mySQLPassword: `yourPassword`,
      mySQLusername: `userName`,
    };
    • Once your credentials are in this config file you can proceed to the next step.
  • Run database seeding script

    npm run db:seed

  • Build webpack bundle

    npm run build

  • Start express server

    npm run start

The service will then run on http://localhost:3003. This serves up an index.html that displays the ReviewService. build.js file should also be in http://localhost:3003/build.js

Tech Framework Used

  • React
  • Express
  • mySQL
  • Jest
  • Enzyme
  • webpack

About

Reviews component for Craftsy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published