{"id":24103188,"url":"https://github.com/aneathaarse/backend-hotelbookingsystem","last_synced_at":"2026-04-13T17:08:48.925Z","repository":{"id":270797270,"uuid":"911484458","full_name":"AneathaaRse/Backend-HotelBookingSystem","owner":"AneathaaRse","description":"hotelbookingsystem","archived":false,"fork":false,"pushed_at":"2025-02-09T17:58:07.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T05:35:54.571Z","etag":null,"topics":["cors","dotenv","express","javascript","mongodb"],"latest_commit_sha":null,"homepage":"https://backend-hotelbookingsystem-5.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/AneathaaRse.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-01-03T06:03:51.000Z","updated_at":"2025-02-09T17:58:11.000Z","dependencies_parsed_at":"2025-01-03T07:21:55.997Z","dependency_job_id":"4cfb7135-86a0-428b-ba76-6105dcba3f8c","html_url":"https://github.com/AneathaaRse/Backend-HotelBookingSystem","commit_stats":null,"previous_names":["aneathaarse/backend-hotelbookingsystem"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AneathaaRse/Backend-HotelBookingSystem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AneathaaRse%2FBackend-HotelBookingSystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AneathaaRse%2FBackend-HotelBookingSystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AneathaaRse%2FBackend-HotelBookingSystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AneathaaRse%2FBackend-HotelBookingSystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AneathaaRse","download_url":"https://codeload.github.com/AneathaaRse/Backend-HotelBookingSystem/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AneathaaRse%2FBackend-HotelBookingSystem/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279008301,"owners_count":26084429,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cors","dotenv","express","javascript","mongodb"],"created_at":"2025-01-10T19:04:27.095Z","updated_at":"2025-10-11T18:17:55.454Z","avatar_url":"https://github.com/AneathaaRse.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hotel Booking and Reservation System\n\nA comprehensive Hotel Booking and Reservation System built using the MERN stack with features for searching hotels, managing bookings, secure payments, real-time updates, and user account management. This project implements modern web technologies for enhanced user experience and functionality.\n\n## Tech Stack\n\n- **Frontend:** React.js, TailwindCSS\n- **Backend:** Node.js, Express.js\n- **Database:** MongoDB\n\n## API Endpoints\n\n### Hotels\n- **GET /api/hotels**: Retrieve all hotels.\n- **POST /api/hotels/search**: Search hotels based on criteria (e.g., location, availability).\n- **GET /api/hotels/:hotelId**: Retrieve details of a specific hotel.\n\n### Bookings\n- **GET /api/bookings/:userId**: Retrieve all bookings for a user.\n- **POST /api/bookings**: Create a new booking for a selected hotel.\n- **PATCH /api/bookings/:bookingId**: Update booking details (e.g., check-in, check-out dates).\n- **DELETE /api/bookings/:bookingId**: Cancel a booking.\n\n### Payments\n- **POST /api/payments**: Process payments using Stripe or PayPal for hotel bookings.\n\n### Users\n- **POST /api/auth/register**: Register a new user.\n- **POST /api/auth/login**: Log in a user.\n- **GET /api/users/profile**: Retrieve user profile details.\n\n## Example Use Case\n\n1. User searches for hotels in a specified location and views availability.\n2. User selects a hotel, chooses a room type, and confirms a booking.\n3. User proceeds to secure payment and receives real-time booking confirmation.\n\nThis system is designed to simplify hotel bookings while ensuring security and reliability for users.\n\n## Additional Resources\n\n### Postman Collections\nAccess the Postman collection for API testing:\nhttps://documenter.getpostman.com/view/39168679/2sAYJ98x9m\n\n### Documentation for Backend Details\nDetailed documentation for backend implementation can be found here:\nhttps://docs.google.com/document/d/1vbbBGNKq4GhZM5hxhN-bqv9uMdS8RRFmMcKSUCka6Q4/edit?tab=t.0\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faneathaarse%2Fbackend-hotelbookingsystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faneathaarse%2Fbackend-hotelbookingsystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faneathaarse%2Fbackend-hotelbookingsystem/lists"}