{"id":20773809,"url":"https://github.com/dsc712/post-your-yelpcamp","last_synced_at":"2025-10-05T06:07:44.441Z","repository":{"id":126530754,"uuid":"118736929","full_name":"dsc712/post-your-yelpcamp","owner":"dsc712","description":"A place where you can post new camping sites , and even comment on other's post :heart_eyes:","archived":false,"fork":false,"pushed_at":"2018-09-16T07:40:16.000Z","size":36,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-30T17:11:23.573Z","etag":null,"topics":["bootstrap3","express","mongodb","mongoose","nodejs","passport-local-mongoose","passportjs"],"latest_commit_sha":null,"homepage":"https://post-your-yelpcamps.herokuapp.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dsc712.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-24T08:37:47.000Z","updated_at":"2018-09-16T07:40:17.000Z","dependencies_parsed_at":"2023-06-17T03:30:40.622Z","dependency_job_id":null,"html_url":"https://github.com/dsc712/post-your-yelpcamp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsc712%2Fpost-your-yelpcamp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsc712%2Fpost-your-yelpcamp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsc712%2Fpost-your-yelpcamp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsc712%2Fpost-your-yelpcamp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dsc712","download_url":"https://codeload.github.com/dsc712/post-your-yelpcamp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251728658,"owners_count":21634267,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap3","express","mongodb","mongoose","nodejs","passport-local-mongoose","passportjs"],"created_at":"2024-11-17T12:27:20.556Z","updated_at":"2025-10-05T06:07:44.327Z","avatar_url":"https://github.com/dsc712.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#  Post-Your-Yelpcamp\nA place where you can post new camping sites , and even comment on other's post.\n[My Project](https://post-your-yelpcamps.herokuapp.com/)\n\n## My Project Development Process\n\n## Initial Setup\n* Add Landing Page\n* Add Campgrounds Page that lists all campgrounds\n\n\u003e Each Campground has:\n   * Name\n   * Image\n\n## Layout and Basic Styling\n* Create our header and footer partials\n* Add in Bootstrap\n\n## Creating New Campgrounds\n* Setup new campground POST route\n* Add in body-parser\n* Setup route to show form\n* Add basic unstyled form\n\n## Style the campgrounds page\n* Add a better header/title\n* Make campgrounds display in a grid\n\n## Style the Navbar and Form\n* Add a navbar to all templates\n* Style the new campground form\n\n## Add Mongoose\n* Install and configure Mongoose\n* Setup campground model\n* Use campground model inside of our routes\n\n## Show Page\n* Add description to our campground model\n* Add a show route/template\n\n## Refactor Mongoose Code\n* Create a models directory\n* Use module.exports\n* Require everything correctly!\n\n## Add Seeds File(used at the time of development - no role in real project)\n* Add a seeds.js file\n* Run the seeds file every time the server starts\n\n## Add the Comment model!\n* Make our errors go away!\n* Display comments on campground show page\n\n## Comment New/Create\n* Discuss nested routes\n* Add the comment new and create routes\n* Add the new comment form\n\n## Style Show Page\n* Add sidebar to show page\n* Display comments nicely\n\n## Finish Styling Show Page\n* Add public directory\n* Add custom stylesheet\n\n## Auth Pt. 1 - Add User Model\n* Install all packages needed for auth\n* Define User model \n\n## Auth Pt. 2 - Register\n* Configure Passport\n* Add register routes\n* Add register template\n\n## Auth Pt. 3 - Login\n* Add login routes\n* Add login template\n\n## Auth Pt. 4 - Logout/Navbar\n* Add logout route\n* Prevent user from adding a comment if not signed in\n* Add links to navbar\n\n## Auth Pt. 5 - Show/Hide Links\n* Show/hide auth links in navbar \n\n## Refactor The Routes\n* Use Express router to reoragnize all routes\n\n## Users + Comments\n* Associate users and comments\n* Save author's name to a comment automatically\n\n## Users + Campgrounds\n* Prevent an unauthenticated user from creating a campground\n* Save username+id to newly created campground\n\n# Editing Campgrounds\n* Add Method-Override\n* Add Edit Route for Campgrounds\n* Add Link to Edit Page\n* Add Update Route\n\n# Deleting Campgrounds\n* Add Destroy Route\n* Add Delete button\n\n# Authorization Part 1: Campgrounds\n* User can only edit his/her campgrounds\n* User can only delete his/her campgrounds\n* Hide/Show edit and delete buttons\n\n# Editing Comments\n* Add Edit route for comments\n* Add Edit button\n* Add Update route\n\n# Deleting Comments\n* Add Destroy route\n* Add Delete button\n\n# Authorization Part 2: Comments\n* User can only edit his/her comments\n* User can only delete his/her comments\n* Hide/Show edit and delete buttons\n* Refactor Middleware\n\n# Adding in Flash!\n* Install and configure connect-flash\n* Add bootstrap alerts to header\n* make meaningful messages in flash message\n\n## RESTFUL ROUTES USED IN MY APP\n\n| name  |     url  |    verb |   desc. |\n|-------|----------|---------|---------|\n|INDEX  | /campgrounds    |  GET    |Display a list of all campgrounds     |\n|NEW    | /campgrounds/new | GET    |Displays form to make a new campground |\n|CREATE | /campgrounds     | POST   | Add new campground to DB              |\n|SHOW   | /campgrounds/:id | GET    | Shows info about one campground |\n|EDIT   | /campgrounds/:id/edit | GET | show edit form for one campground |\n|UPDATE | /campgrounds/:id | PUT | update a particular campground then redirect somewhere|\n|DELETE | /campgrounds/:id | DELETE | delete a particular dog then redirect somewhere |\n\n##### adding comments routes to existing routes(without loosing restfullness of app)\n\u003e /campgrounds/:id/edit\n\n\u003e /campgrounds/:id/comments/:comment_id/edit\n\n## Styling landing Page\n* added new landing.css file in public directory\n## Styling login and signup forms\n* added the styles of edit campground form.\n\n\u003e adding font awesome icons to my project.\n\u003e adding github repository link to my project.\n* adding meta tag for theme-color.\n* meta name=\"theme-color\" content = \"#222\" - it is observed in chrome 39 for android mobile only\n* add other necessary meta tags author,description and keywords .","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsc712%2Fpost-your-yelpcamp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdsc712%2Fpost-your-yelpcamp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsc712%2Fpost-your-yelpcamp/lists"}