Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 1.1 KB

README.md

File metadata and controls

55 lines (40 loc) · 1.1 KB

Restaurant Info Module

Recreating the restaurant info module from the item page on Zagat.com.

Related Projects

Table of Contents

  1. Usage
  2. Requirements
  3. Development

Usage

With MongoDB installed and mongo server listening, run: 'npm run seed' to seed database with random data. API routes

  • GET - /api/restaurants/:id/info
  • POST - /api/restaurants/info
  • PUT - /api/restaurants/:id/info
  • DELETE - /api/restaurants/:id/info

Requirements

An nvmrc file is included if using nvm.

  • Node 6.13.0
  • MongoDB
  • Express
  • Webpack
  • Redux
  • React
  • React Styled Components
  • Google Map React
  • Jest
  • Puppeteer

Development

Installing Dependencies

From within the root directory:

npm install -g webpack
npm install
start mongo server in a new terminal "mongod"
npm run seed
npm run build
npm start