Skip to content

HangryHub/FEC-Ammar-Project

Repository files navigation

FEC-Ammar-Project

This Project is the Front-End-Capstone for Hack Reactor bootcamp in this repo my responsibility is to build a component that can read from a database records of reviews and display them as a grubhub style with slightly different style.

the System on AWS.

Related Projects

Table of Contents

  1. Usage
  2. Requirements
  3. Development

Usage

in the URL use /restaurants/:id to check the restaurants review. fake information has been used using faker framwork.

Requirements

An nvmrc file is included if using nvm.

  • Node 6.13.0
  • React 16.7.0
  • React-dome 16.7.0
  • MySql 2.14.1
  • Body-parser 1.17.2
  • Express 4.15.4
  • JQuery 3.2.1

for development enviroment

  • @babel/core 7.2.2
  • @babel/preset-env 7.2.0
  • @babel/preset-react 7.0.0
  • babel-core 7.0.0-bridge.0
  • babel-jest 23.6.0
  • babel-loader 8.0.4
  • enzyme 3.8.0
  • enzyme-adapter-react-16 1.7.1
  • faker 4.1.0
  • jest 23.6.0
  • morgan 1.9.1
  • react-svg-loader 2.1.0
  • regenerator-runtime 0.13.1
  • webpack 2.2.

Development

Installing Dependencies

From within the root directory:

npm install
npm install -g webpack
npm run create-db
npm run seed-db
npm run test
npm run react-dev
npm start

Installing Database

MySQL.

Modifiy the username and password after installing MySQL in /database/config.js file

Installing Docker

Docker.

To build an image use docker-compose build
To run the docker-compose image use docker-compose up
To seed the database in the URL type /reviews/seed

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors