{"id":25024038,"url":"https://github.com/anashany2193/natours-api","last_synced_at":"2025-10-19T10:11:52.867Z","repository":{"id":250629217,"uuid":"834986194","full_name":"AnasHany2193/Natours-API","owner":"AnasHany2193","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-29T02:55:05.000Z","size":37065,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T15:46:40.052Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/AnasHany2193.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-07-28T22:52:51.000Z","updated_at":"2024-07-29T02:55:08.000Z","dependencies_parsed_at":"2025-02-05T15:39:43.471Z","dependency_job_id":"24b55664-b5fd-43e8-a655-345b1d5da899","html_url":"https://github.com/AnasHany2193/Natours-API","commit_stats":null,"previous_names":["anashany2193/natours-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnasHany2193%2FNatours-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnasHany2193%2FNatours-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnasHany2193%2FNatours-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnasHany2193%2FNatours-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnasHany2193","download_url":"https://codeload.github.com/AnasHany2193/Natours-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246326795,"owners_count":20759439,"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":"2025-02-05T15:38:48.527Z","updated_at":"2025-10-19T10:11:47.828Z","avatar_url":"https://github.com/AnasHany2193.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Natours API 🌍\n\nWelcome to the **Natours API**! 🚀 This API powers the Natours application, providing endpoints to manage tours, users, reviews, and more. Explore the wonders of the world with us!\n\n## 📚 Table of Contents\n\n- [🔍 Overview](#overview)\n- [📸 Screenshots](#screenshots)\n- [🚀 Getting Started](#getting-started)\n- [🔧 API Endpoints](#api-endpoints)\n- [⚙️ Usage](#usage)\n- [📚 Course Credits](#screenshots)\n- [💬 Contact](#contact)\n\n## 🔍 Overview\n\nThe Natours API allows you to:\n\n- Explore exciting tours around the globe 🌎\n- Manage user profiles and authentication 🔑\n- Submit and view reviews ✍️\n- Handle bookings and more!\n\n## 📸 Screenshots\n\nHere are some screenshots of the Natours application:\n\n- **Overview Page**:\n  ![Overview](public/img/overview.png)\n\n- **Tour Page**:\n  ![Tour](public/img/tour.png)\n\n- **User Page**:\n  ![User](public/img/me.png)\n\n## 🚀 Getting Started\n\nTo get started with the Natours API, follow these steps:\n\n1. **Clone the Repository**:\n\n   ```bash\n   git clone https://github.com/AnasHany2193/Natours-API.git\n   cd Natours-API\n   ```\n\n2. **Install Dependencies**:\n\n   ```bash\n   npm install\n   ```\n\n3. **Setup Environment Variables**:\n   Create a `.env` file in the root directory and add the following:\n\n   ```env\n   PORT=3000\n   DATABASE=your_database_url\n   EMAIL_FROM=your_email@example.com\n   SENDGRID_USERNAME=your_sendgrid_username\n   SENDGRID_PASSWORD=your_sendgrid_password\n   ```\n\n4. **Start the Server**:\n   ```bash\n   npm start\n   ```\n\nYour API will be running on `http://localhost:3000`.\n\n## 🔧 API Endpoints\n\nHere are some of the main endpoints available:\n\n- **Tours**:\n\n  - `GET /api/v1/tours` - Get all tours\n  - `POST /api/v1/tours` - Create a new tour\n  - `GET /api/v1/tours/:id` - Get a specific tour\n  - `PATCH /api/v1/tours/:id` - Update a tour\n  - `DELETE /api/v1/tours/:id` - Delete a tour\n\n- **Users**:\n\n  - `GET /api/v1/users` - Get all users\n  - `POST /api/v1/users` - Create a new user\n  - `GET /api/v1/users/:id` - Get a specific user\n  - `PATCH /api/v1/users/:id` - Update a user\n  - `DELETE /api/v1/users/:id` - Delete a user\n\n- **Reviews**:\n  - `GET /api/v1/reviews` - Get all reviews\n  - `POST /api/v1/reviews` - Create a new review\n  - `GET /api/v1/reviews/:id` - Get a specific review\n  - `PATCH /api/v1/reviews/:id` - Update a review\n  - `DELETE /api/v1/reviews/:id` - Delete a review\n\nFor a detailed view of all available endpoints, check out our [Postman Documentation API](https://documenter.getpostman.com/view/36491830/2sA3kVkMEX).\n\n## ⚙️ Usage\n\nAfter running the server, you can interact with the API endpoints using tools like Postman or cURL. Ensure to include necessary headers and parameters for requests.\n\n## 📚 Course Credits\n\nThis project was built with guidance from Jonas Schmedtmann's course on Udemy. You can check out the course [here](https://www.udemy.com/share/101Wv6/). 🌟\n\n## 💬 Contact\n\nFor any questions or suggestions, feel free to reach out:\n\n- **LinkedIn**: [Anas Hany](https://www.linkedin.com/in/anashany219/)\n- **GitHub**: [AnasHany2193](https://github.com/AnasHany2193)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanashany2193%2Fnatours-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanashany2193%2Fnatours-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanashany2193%2Fnatours-api/lists"}