GithubHelp home page GithubHelp logo

tbenson89 / yelpcampcloner Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 187 KB

A Cloned version of YelpCamp Webapp Created with Bootstrap 3, modrnizr, Mongo, Express, and Node.

JavaScript 47.97% CSS 8.60% HTML 43.44%

yelpcampcloner's Introduction

The Yelp Camp Cloner Application

A Cloned version of YelpCamp Webapp Created with Bootstrap 3, modrnizr, Mongo, Express, and Node.

Requirements for Setting up your workspace

Here I will break down what is needed to clone and branch off of this project. These instructions will be for windows users only for now I will come back and add as needed.

Copied from Notes:

Routes

  • Landing page
  • Campgrounds
  • New

Layout & Basic Styling

  • Style'd with Boostrap

Create New Campgrounds

  • Setup New Campgrounds for the Community.
  • Add Image of the Campground you are adding.

Campgrounds Page

  • List view style with the feature to add new Campsites

Navigation and Forms

  • Add a Navbar to all templates
  • Style the new campground form

UPDATED VERSION: V2

  • Add a better Header/Title

  • Make Campgrounds display in a grid

  • add a navbar to all templates

  • style the new campground form

ODM - Mongoose

  • Install and Config
  • Setup the Campground Model
  • Use campground model inside of our routes!

Show Page

  • Review the RESTfull routes we've seen so far.
  • Add Descriptions to our campground model
  • show db.collection.drop()
  • Add a show route/template

Add the Comment Model

  • Make our Errors Go Away!
  • Display Comments on a Campground Show Page.

Comment Model - New/Create

  • Discuss Nested Routes
  • Add the comment NEW and Create Routes
  • Add the New Comment Form

Style SHow Page

  • Add sidebar
  • Display Comments Nicely

Add User Model

  • Add needed dependencies for AUTH
  • Define User Model

Register

  • Config Passport
  • Add Register Route
  • Add Register Template

Login

  • Add Login Route
  • Add Login Template

Logout/Navbar

  • Add Logout Route
  • Prevent User from Leaving a review if not logged in
  • Show/hide AUth Links Correctly

Refactor Routes

  • Express Router Cleaning Up

Users + Comments

  • Associate Users and Comments
  • Save Author's Name Automatically

Users + Campgrounds

  • Save username and id to the Newly Created Campground

New JS Feature Additions

  • Flash Feature "you are signed in"

Editing Campgrounds

  • Add Method-Override
  • Add Edit Route for Campgrounds
  • Add Link to Edit Page
  • Add Update Route
  • Fix $set Problem

Deleting Campgrounds

  • Add Delete Route
  • Add Delete Button

User AUTH

  • User can only edit his/her Campground
  • User can only delete his/her Campground
  • DOM Manip. - hide/show Edit and Delete Buttons

Comment Edit

  • Add Edit route for Comments
  • Add Edit Button
  • Add Update Route

Comment Delete

  • Add Destroy Route for Comments
  • Add Delete Button

Comment AUTH

  • User can only edit his/her comments
  • User can only delete his/her comments
  • Hide/Show Edit/Delete Buttons
  • Refactor Middleware

Adding The Flash!

  • Install and Config connect-flash package
  • Add boostrap alerts to header

yelpcampcloner's People

Contributors

tbenson89 avatar dependabot[bot] avatar

Stargazers

SlightlyModifiedTech avatar

Watchers

 avatar SlightlyModifiedTech 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.