Skip to content

jasonslchen/RateThisFood

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RateThisFood

A full stack food rating web application to rate dishes.

Click to checkout the video.

RateThisFood Video

Table of Contents

  1. Requirements

Requirements

  • Node v8.15.x
  • MongoDB v4.2.x
  • npm v6.10.x

Development

Installing Dependencies

From within the root directory

  1. Installing project dependencies
npm install
  1. To seed the MongoDB database
node ./database/seedDataBase.js
  1. To create a client bundle
npm run build:dev
  1. To start the server
npm run start:dev
  1. To see the fruit of your labors, go to localhost:3000

RESTful CRUD API

Get entree GET - '/api/rateFood/:category/:foodId' - success: status code 200

Post an image POST - '/api/rateFood/:category/:foodId/image' - success: status code 200

Post a review POST - '/api/rateFood/:category/:foodId' - success: status code 200

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published