Skip to content

chrystalzou/chrystal-reviews

 
 

Repository files navigation

Project Name

Project description

Related Projects

Table of Contents

  1. Usage
  2. Requirements
  3. Development

Usage

  1. Run npm install to install dependencies.
  2. Run mysql -u root < schema.sql to start the database and create the schema.
  3. Run npm start to start the server, which will also insert 100 reviews into the database.
  4. There is a small bug in the server when it writes reviews to the database. The server will stop and throw an error saying it does not reconized the generated date. It is safe to restart the server in this instance.
  5. If you run into issues rendering the component, make sure to check that you have both the MySQL database connected, and that the server is listening on port 3002.

Requirements

An nvmrc file is included if using nvm.

  • Node 6.13.0
  • etc

Development

Installing Dependencies

From within the root directory:

npm install

About

reviews microservice component for restaurant reservations app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 88.3%
  • CSS 9.9%
  • HTML 1.8%