Giter VIP home page Giter VIP logo

raterestrant's Introduction

Rate REST-Rant

REST-Rant is an app where users can review restaurants.

Method Path Purpose
GET / Home Page

| |

Method Path Purpose
GET / The home page
GET /places Index page listing all places
GET /places/new New form for a place
POST /places Create a new place
GET /places/:id Show one place in detail (Associated rants, new rant form, delete rant button)
GET /places/:id/edit Edit form for a place
PUT /places/:id Make changes to existing place
DELETE /places/:id Delete a place
POST /places/:id/rant Add rant to a place
DELETE /places/:id/rant/:rantId Delete a rant

GET: / Home page

GET: /places Places index page

POST: /places Create new place

GET: /places/new Form page for creating a new place

GET: /places/:id Details about a particular place

PUT: /places/:id Update a particular place

GET: /places/:id/edit Form page for editing an existing place

DELETE: /places/:id Delete a particular place

Database

places

Field Type
_id Object ID
name String
city String
state String
cuisines String
pic String

rants

Field Type
_id Object ID
place_id ref(places) Object_Id
rant Boolean
rating Number
comment String
reviewer String
  • Part 1: Project setup, stub three routes, and creating a README file
  • Part 2: Stub remaining GET and POST routes, planning mock restaurant data, drawing wireframes, and making your first view
  • Part 3: Making more views, creating a layout page, and expanding your README
  • Part 4: Adding some style with CSS
  • Part 5: Forms, validation, and navigation
  • Part 6: Implementing delete functionality and adding a DELETE route
  • Part 7: Implementing edit form and functionality, adding a PUT route
  • Part 8: Implementing the Mongoose ODM
  • Part 9: Seed data, validations, and helper methods
  • Part 10: Adding commentary: rants and raves
  • Part 11: Populating data for star ratings
  • Part 12: Deploying your project# RateRestRant

raterestrant's People

Contributors

pairapp avatar awesomething avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.