{"id":15155521,"url":"https://github.com/khaleda-02/tour-nerds","last_synced_at":"2026-02-09T13:32:38.569Z","repository":{"id":254749801,"uuid":"847250650","full_name":"khaleda-02/tour-nerds","owner":"khaleda-02","description":"Tour-Nerds: The backend API for a full-stack tourism application. Built with Express.js, MongoDB, and Mongoose, it manages tours, user authentication, and bookings. Secure, scalable, and ready to power your travel experiences.","archived":false,"fork":false,"pushed_at":"2024-12-17T13:35:55.000Z","size":1796,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-24T12:38:58.180Z","etag":null,"topics":["express-js","jwt","mongodb","mongoose","nodejs"],"latest_commit_sha":null,"homepage":"","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/khaleda-02.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-08-25T09:29:40.000Z","updated_at":"2024-12-17T13:35:59.000Z","dependencies_parsed_at":"2024-08-25T21:28:36.521Z","dependency_job_id":"a7ce3702-28ea-45bf-845c-0afb59092a97","html_url":"https://github.com/khaleda-02/tour-nerds","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":0.1333333333333333,"last_synced_commit":"aa6b40c7e3bf2b89f3b3a1e86b912a6de8c2b552"},"previous_names":["khaleda-02/tour-nerds"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/khaleda-02/tour-nerds","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khaleda-02%2Ftour-nerds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khaleda-02%2Ftour-nerds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khaleda-02%2Ftour-nerds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khaleda-02%2Ftour-nerds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khaleda-02","download_url":"https://codeload.github.com/khaleda-02/tour-nerds/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khaleda-02%2Ftour-nerds/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29266982,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T12:53:16.161Z","status":"ssl_error","status_checked_at":"2026-02-09T12:52:30.244Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["express-js","jwt","mongodb","mongoose","nodejs"],"created_at":"2024-09-26T18:23:00.498Z","updated_at":"2026-02-09T13:32:38.523Z","avatar_url":"https://github.com/khaleda-02.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **tour-nerds**\n\n### Description\n\n**Tour-Nerds** is the backend of a full-stack tourism application. It provides an API for managing and booking tours. The application is built using **Express.js** for the server-side logic, **MongoDB** for the database, and **Mongoose** for object data modeling (ODM). The backend handles data related to tours, including details such as duration, difficulty, and user bookings.\n\n### Modules\n\n- **User Module**: User has a profile contain his data (username,email,name,and his role), user can update his data .\n- **Auth Module**: authentication system: signup, signin, forgot password, update password (reset password by sending emails to users with reset token) .\n- **Tour Module**: Admins able to CRUD tours, and user can reads tours and filter it based on his needs like: price, rating, destination.\n- **Review Module**: User can give his review on a tour, and update, delete his reviews.\n\n### Features\n\n- **Tours Management**: Admins can Create, read, update, and delete tours, while users can read, book\u0026 review tours.\n- **Image Uploading \u0026 Email Sending Services**: User can upload his Image, Admin upload tours Images when creating tour.\n- **User Authentication**: User registration, login, and authentication.\n- **Booking System**: Users can book tours, view their bookings, and cancel them.\n- **Data Validation**: Input data is validated to ensure the integrity and consistency of information.\n- **API Security**: Protection against common security threats such as NOSQL injection and cross-site scripting (XSS).\n\n### Technologies Used\n\n- **Express.js**: Web framework for Node.js.\n- **MongoDB**: NoSQL database for storing tour and user data.\n- **Mongoose**: ODM for MongoDB, providing schema validation and query building.\n- **JWT**: For user authentication and session management.\n- **bcrypt**: For hashing user passwords.\n- **dotenv**: For environment variable management.\n- **multer**: For environment variable management.\n\n### Getting Started\n\n#### Prerequisites\n\n- **Node.js**: Ensure you have Node.js installed. [Download Node.js](https://nodejs.org/)\n- **MongoDB**: You should have MongoDB installed and running. [Download MongoDB](https://www.mongodb.com/try/download/community)\n\n#### Installation\n\n1. **Clone the repository**:\n   ```bash\n   git clone https://github.com/khaleda-02/tour-nerds\n   cd tour-nerds\n   ```\n2. **Install dependencies**:\n   ```bash\n   npm install\n   ```\n3. **Environment variables**:\n\n- Create a .env file in the root of the project.\n- Add the following variables (replace the values with your own):\n  ```bash\n  DATA_BASE_STR=mongodb://localhost:27017/db-name\n  NODE_ENV=development\n  PORT=3000\n  JWT_SECRET =jwt_secret\n  JWT_EXPIRES_IN=1d\n  EMAIL_USERNAME=\n  EMAIL_PASSWORD=\n  EMAIL_HOST=\n  EMAIL_PORT=\n  ```\n\n2. **Run the application**:\n   ```bash\n   npm start\n   The server should be running on http://localhost:3000.\n   ```\n\n### Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n### License\n\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhaleda-02%2Ftour-nerds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhaleda-02%2Ftour-nerds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhaleda-02%2Ftour-nerds/lists"}