Skip to content

Latest commit

 

History

History
executable file
·
39 lines (30 loc) · 2.26 KB

README.md

File metadata and controls

executable file
·
39 lines (30 loc) · 2.26 KB

Beehive API - Built with MongoDB, Mongoose, and Express

This interactive app allows users to view, create, and RSVP to events (referred to as 'listings' throughout the code). In addition, the user can view all events to which they've RSVPed, and view, modify or delete events they've created.

*** When demoing the application, please do not use a real email or password when registering ***

ex: email: bee@hive, password: bee

Important Links

Back-end Technologies Used

  • MongoDB
  • Mongoose
  • Express

Events

Verb URI Pattern Controller#Action
GET /listings listings#index
GET /listings/:id listings#show
GET /user-listings listings#userlistings
POST /listings listings#create
PATCH /listings/:id listings#update
DELETE /listings/:id listings#destroy

Development & Problem Solving Process

  • We created an ERD to represent the relationships between our users, event listings, and RSVPs.
  • The team was methodical about creating empty files/folder for all aniticipated needs, so that when the team split up to work on feature branches, it was clear to each member what every file/folder's purpose was. This also was a strong way to be sure that all team members had a visual representation of what files had and had not yet been completed.
  • We used pair programming to complete all routes and models. It proved beneficial to employ this strategy, as we completed this process within the first hours of the project, at a time when it was still worthwhile to build familiarity with the project's foundation before working by oneself.
  • Curl script testing was completed, allowing our team to continue on to the front-end.

Entity Relationship Diagram

Unsolved Problems

  • The process of building the back-end went very smoothly and was finished within the first day of the project.