{"id":18455796,"url":"https://github.com/akdevv/yelp-camp","last_synced_at":"2025-04-22T17:14:30.016Z","repository":{"id":217997787,"uuid":"744041978","full_name":"akdevv/yelp-camp","owner":"akdevv","description":"YelpCamp is a full-stack website project that allows users to explore, create and review campgrounds.","archived":false,"fork":false,"pushed_at":"2024-01-30T19:52:29.000Z","size":13203,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T14:57:26.405Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://yelp-camp-tkfu.onrender.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/akdevv.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":"2024-01-16T14:17:20.000Z","updated_at":"2024-03-14T12:37:20.000Z","dependencies_parsed_at":"2024-01-26T07:29:42.255Z","dependency_job_id":"8eb1a9d3-2e37-4d69-a51f-3214433b5047","html_url":"https://github.com/akdevv/yelp-camp","commit_stats":null,"previous_names":["akdevv/yelp-camp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akdevv%2Fyelp-camp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akdevv%2Fyelp-camp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akdevv%2Fyelp-camp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akdevv%2Fyelp-camp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akdevv","download_url":"https://codeload.github.com/akdevv/yelp-camp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250285719,"owners_count":21405298,"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":[],"created_at":"2024-11-06T08:09:03.210Z","updated_at":"2025-04-22T17:14:29.996Z","avatar_url":"https://github.com/akdevv.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yelp Camp\n\n## Overview\n\nYelp Camp is a full-stack website project that allows users to explore, create, and review campgrounds. It provides a platform for users to discover new camping destinations, share their experiences, and connect with fellow outdoor enthusiasts. You can visit the website [https://yelp-camp-tkfu.onrender.com](https://yelp-camp-tkfu.onrender.com/).\n\n## Screenshots\n\n### Homepage\n![Homepage](./public/images/screenshots/homepage.png)\n\n### All Campgrounds Page\n![All Campgrounds Page](./public/images/screenshots/all-campgrounds.png)\n\n### Show Page\n![Show Page](./public/images/screenshots/show-page.png)\n\n### New Campground Page\n![New Campground Page](./public/images/screenshots/new-page.png)\n\n### Edit Campground\n![Edit Campground Page](./public/images/screenshots/edit-page.png)\n\n### Login \u0026 Register Page\n![Login \u0026 Register Page](./public/images/screenshots/login-and-register.png)\n\n## Technologies Used\n\n### Frontend \n\n![HTML5](https://img.shields.io/badge/HTML5-E34F26?style=for-the-badge\u0026logo=html5\u0026logoColor=white)\n![CSS3](https://img.shields.io/badge/CSS3-1572B6?style=for-the-badge\u0026logo=css3\u0026logoColor=white)\n![JavaScript](https://img.shields.io/badge/JavaScript-F7DF1E?style=for-the-badge\u0026logo=javascript\u0026logoColor=black)\n![Bootstrap](https://img.shields.io/badge/bootstrap-%238511FA.svg?style=for-the-badge\u0026logo=bootstrap\u0026logoColor=white)\n\n### Backend\n\n![NPM](https://img.shields.io/badge/NPM-%23CB3837.svg?style=for-the-badge\u0026logo=npm\u0026logoColor=white)\n![NodeJS](https://img.shields.io/badge/node.js-6DA55F?style=for-the-badge\u0026logo=node.js\u0026logoColor=white)\n![Express.js](https://img.shields.io/badge/express.js-%23404d59.svg?style=for-the-badge\u0026logo=express\u0026logoColor=%2361DAFB)\n\n### Database\n\n![MongoDB](https://img.shields.io/badge/MongoDB-4EA94B?style=for-the-badge\u0026logo=mongodb\u0026logoColor=white)\n\n### Authentication\n\n![Passport](https://img.shields.io/badge/Passport-34E27A?logo=passport\u0026logoColor=000\u0026style=for-the-badge)\n\n### Template Engine\n\n![EJS](https://img.shields.io/badge/EJS-B4CA65?style=for-the-badge\u0026logo=ejs\u0026logoColor=white)\n\n### Deployment\n\n![Render](https://img.shields.io/badge/Render-%46E3B7.svg?style=for-the-badge\u0026logo=render\u0026logoColor=white)\n\n## Instructions\n\nTo run the Yelp Camp project locally, follow these steps:\n\n1. Clone the repository to your local machine:\n```bash\ngit clone https://github.com/akdevv/yelp-camp.git\n```\n\n2. Navigate to the project directory:\n```bash\ncd yelp-camp\n```\n\n3. Install dependencies using npm:\n```bash\nnpm install\n```\n\n4. Set up the environment variables:\n    - Create your account on [MongoDB](https://www.mongodb.com/) and get DB url\n    - Create you account on [Mapbox](https://cloudinary.com/) and get Access Token\n    - Create your account on [Cloudinary](https://cloudinary.com/) and get API keys\n    - Create a `.env` file in the root directory\n    - And add the following environment variables:\n    ```js\n        CLOUDINARY_CLOUD_NAME=\u003c\u003cyour-cloud-name\u003e\u003e\n        CLOUDINARY_API_KEY=\u003c\u003cyour-api-key\u003e\u003e\n        CLOUDINARY_API_SECRET=\u003c\u003cyour-api-secret\u003e\u003e\n        MAPBOX_TOKEN=\u003c\u003cyour-mapbox-token\u003e\u003e\n        DB_URL=\u003c\u003cyour-mongodb-url\u003e\u003e\n        SECRET=\u003c\u003csecret-pharase\u003e\u003e\n    ```\n\n5. Run the project:\n```bash\nnpm start\n```\n\n6. Access the application through your web browser at `http://localhost:3000`.\n\n## File Structure\n\n```\n├── cloudinary/                 # cloudinary config script\n├── controllers/                # backend controllers (express)\n├── models/                     # backend models (mongoose)\n├── public                      # static assets\n│   ├── images/\n│   ├── javascripts/\n│   └── stylesheets/\n├── routes/                     # backend route handlers\n├── seeds/                      # database seeding scripts\n├── utils/                      # utility functions\n├── views/                      # server-side rendered views (EJS)\n│   ├── campgrounds             # campground views\n│   │   ├── edit.ejs\n│   │   ├── index.ejs\n│   │   ├── new.ejs\n│   │   └── show.ejs\n│   ├── layouts                 # boilerplate layout\n│   │   └── boilerplate.ejs\n│   ├── partials                # EJS partials (flash msg, footer \u0026 navbar)\n│   │   ├── flash.ejs\n│   │   ├── footer.ejs\n│   │   └── navbar.ejs\n│   ├── users                   # users views\n│   │   ├── login.ejs\n│   │   └── register.ejs\n│   ├── error.ejs\n│   └── home.ejs\n├── app.js                      # main script file\n├── middleware.js               # custom middleware functions\n├── schemas.js                  # joi validation schemas\n├── .gitignore\n├── package-lock.json\n├── package.json\n└── README.md\n```\n\n## Credits\n\nThis project was created with reference to the Udemy course [The Web Developer Bootcamp](https://www.udemy.com/course/the-web-developer-bootcamp/) by **Colt Steele**. I appreciate the valuable insights and knowledge gained from the course.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakdevv%2Fyelp-camp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakdevv%2Fyelp-camp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakdevv%2Fyelp-camp/lists"}