Skip to content

michaelangelesz/project-REST-rant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project REST-Rant

TBD - SUMMARY

Tech Usage

CSS Framework: Bootstrap

Stack: MongoDB, Express, NodeJS

Server-Side Rendering: JSX

Node Modules: method-override, dotenv, express-react-views

Routes

Method Path Purpose
GET / Home page
GET /places Index page listing all places
POST /places Create a new place
GET /places/new Form page for creating a new place
GET /places/:id Show one place in detail (Associated rants, new rant form, delete rant button)
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
POST /places/:id/rant Create a rant (comment) about a particular place
DELETE /places/:id/rant/:rantId Delete a rant (comment) about a particular place
GET * 404 page (matches any route not defined above)

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

Planning

User Stories

TBD

Wireframes

TBD

Notes

Possible bonus ideas:

  • Update for comments
  • Aggregate rating for a place
  • Auto-complete state dropdown

About

A MERN full-stack application with full CRUD functionality. Add, Edit, and Delete restaurants, in realtime to an active database. Add comments and ratings as well!

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors