Skip to content

ashutosh2307/CampGo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CampGo

CampGo is a web application that allow you to view campgrounds with a short description. Once you login or signup, you can create campgrounds that includes a title, image address and short description. You can also add comments or edit a campground of yours.

Top Features

1. Authentication & Authorization.
2. Create, read, update and delete the posts & comments.

Key Technologies

  • Front-end - HTML, CSS, Bootstrap 3, JavaScript, Jquery, flexbox
  • Back-end - Node.js, ExpressJS, NPM, PassportJS, Express-session
  • Database & Tools - MongoDB, Cloud9 IDE, Git (Version Controlling System)
  • Host - Heroku server and MongoLab

Setup

  • Add Landing Page
  • Add Campgrounds Page that lists all campgrounds
  • Each Campground has: Name, Image
  • Create our header and footer partials
  • Add in Bootstrap
  • Setup new campground POST route
  • Add in body-parser
  • Setup route to show form
  • Add basic unstyled form
  • Add a better header/title
  • Make campgrounds display in a grid
  • Add a navbar to all templates
  • Style the new campground form
  • Add a show route/template
  • Add the Comment model
  • Display comments on campground show page
  • Add the comment new and create routes
  • Add the new comment form
  • Add sidebar to show page
  • Add public directory
  • Add custom stylesheet
  • Register/Login routes

Add Mongoose

  • Install and configure Mongoose
  • Setup campground model
  • Use campground model inside of our routes

Add Seeds File

  • Add a seeds.js file
  • Run the seeds file every time the server starts

Upgrading

  • Add "back" redirect to login
  • Add method-override
  • BOOTSTRAP NAV COLLPASE JS
  • Flash Messages
  • Refactor container div to header
  • Show/hide delete and update buttons
  • style login/register forms
  • Random Background Landing Page
  • Refactor middleware
  • change styling in show template - comment delete/update
  • UPATE/DELETE CAMPGROUND