Skip to content

HackerUSA-CE/API-Project-REST-Rant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 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 / 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

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •