{"id":25376460,"url":"https://github.com/patricks-js/capybara-hub","last_synced_at":"2026-04-11T12:41:46.465Z","repository":{"id":276231692,"uuid":"928556902","full_name":"patricks-js/capybara-hub","owner":"patricks-js","description":"Capybara Hub - A simple hotel management system.","archived":false,"fork":false,"pushed_at":"2025-02-22T18:50:14.000Z","size":339,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-26T02:18:56.229Z","etag":null,"topics":["backend","mongodb","mongoose","nestjs","openapi","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/patricks-js.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":"2025-02-06T20:33:56.000Z","updated_at":"2025-02-22T18:50:18.000Z","dependencies_parsed_at":"2025-02-22T19:28:29.339Z","dependency_job_id":"76d0f6da-5d67-4806-9b00-e18a3c0ea899","html_url":"https://github.com/patricks-js/capybara-hub","commit_stats":null,"previous_names":["patricks-js/capybara-hub"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/patricks-js/capybara-hub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patricks-js%2Fcapybara-hub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patricks-js%2Fcapybara-hub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patricks-js%2Fcapybara-hub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patricks-js%2Fcapybara-hub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patricks-js","download_url":"https://codeload.github.com/patricks-js/capybara-hub/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patricks-js%2Fcapybara-hub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31681201,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"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":["backend","mongodb","mongoose","nestjs","openapi","typescript"],"created_at":"2025-02-15T04:27:53.637Z","updated_at":"2026-04-11T12:41:46.443Z","avatar_url":"https://github.com/patricks-js.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Capybara Hub Backend\n\nA robust hotel booking system backend built with NestJS and MongoDB.\n\n## Project Overview\n\nCapybara Hub is a hotel management system that enables customers to book rooms, manage their profiles, and interact with hotel services through a secure API.\n\n## Features\n\n### Authentication\n\n- [x] Customer signup\n- [x] Secure signin with JWT authentication\n- [ ] Protected routes with role-based access\n\n### Customer Management\n\n- [x] Profile creation and management\n- [x] Address management\n- [x] Profile deletion capabilities\n- [x] Secure password handling with bcrypt\n\n### Hotel Management\n\n- [ ] Hotel creation and listing\n- [ ] Room management system\n- [ ] Hotel address management\n- [ ] Multiple room types support\n\n### Booking System\n\n- [ ] Room booking functionality\n- [ ] Booking management (create, update, cancel)\n- [ ] Booking history tracking\n\n### API Documentation\n\n- Swagger/OpenAPI integration\n- Detailed API endpoint documentation\n- Response examples and error handling\n\n## Tech Stack\n\n- NestJS\n- MongoDB with Mongoose\n- JWT Authentication\n- TypeScript\n- OpenAPI/Swagger\n\n## Running Locally\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/your-username/capybara-hub-back-end.git\n    ```\n\n2. Install dependencies:\n\n    ```bash\n    cd capybara-hub-back-end \u0026\u0026 npm install\n    ```\n\n3. Create a .env file in the root directory with the following variables:\n\n    ```plain_text\n    MONGODB_URI=your_mongodb_connection_string\n    JWT_SECRET=your_jwt_secret\n    PORT=3000\n    ```\n\n4. Start the development server:\n\n    ```bash\n    npm run start:dev\n    ```\n\n5. Access the API documentation:\n\n    - Open your browser and navigate to \u003chttp://localhost:3000/api/docs\u003e\n    - The Swagger documentation will be available for testing endpoints\n\n## API Endpoints\n\n- POST /auth/signup - Register a new customer\n- POST /auth/signin - Customer login\n- GET /customers/profile - Get customer profile\n- PATCH /customers/profile - Update customer profile\n- POST /hotels - Create new hotel\n- POST /rooms - Add new room\n- POST /bookings - Create new booking\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatricks-js%2Fcapybara-hub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatricks-js%2Fcapybara-hub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatricks-js%2Fcapybara-hub/lists"}