{"id":26937123,"url":"https://github.com/avinash4231/hotel-booking-application-using-reactjs-and-springboot","last_synced_at":"2026-04-07T23:32:10.017Z","repository":{"id":243787727,"uuid":"813061444","full_name":"Avinash4231/Hotel-Booking-application-using-ReactJS-and-SpringBoot","owner":"Avinash4231","description":"The Hotel Booking Application, developed using ReactJS and Spring Boot, provides role-based access for admins and users. Admins can manage rooms (add, update, delete) and oversee bookings, including cancellations. Users can book rooms and view their reservations. It utilizes Redux, Axios, and MySQL for efficient and secure operation.","archived":false,"fork":false,"pushed_at":"2024-06-11T05:30:04.000Z","size":1038,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-13T16:10:00.763Z","etag":null,"topics":["axios","bootstrap","css","html","javascript","reactjs","redux","spring-boot","spring-mvc","spring-security","tailwindcss"],"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/Avinash4231.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-06-10T12:19:27.000Z","updated_at":"2025-08-10T22:21:28.000Z","dependencies_parsed_at":"2024-06-11T06:42:34.003Z","dependency_job_id":"70e0992c-dbe7-4a45-af2c-efde248e5ecb","html_url":"https://github.com/Avinash4231/Hotel-Booking-application-using-ReactJS-and-SpringBoot","commit_stats":null,"previous_names":["avinash4231/hotel-booking-application-using-reactjs-and-springboot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Avinash4231/Hotel-Booking-application-using-ReactJS-and-SpringBoot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avinash4231%2FHotel-Booking-application-using-ReactJS-and-SpringBoot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avinash4231%2FHotel-Booking-application-using-ReactJS-and-SpringBoot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avinash4231%2FHotel-Booking-application-using-ReactJS-and-SpringBoot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avinash4231%2FHotel-Booking-application-using-ReactJS-and-SpringBoot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Avinash4231","download_url":"https://codeload.github.com/Avinash4231/Hotel-Booking-application-using-ReactJS-and-SpringBoot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avinash4231%2FHotel-Booking-application-using-ReactJS-and-SpringBoot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31533823,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["axios","bootstrap","css","html","javascript","reactjs","redux","spring-boot","spring-mvc","spring-security","tailwindcss"],"created_at":"2025-04-02T13:14:24.367Z","updated_at":"2026-04-07T23:32:09.996Z","avatar_url":"https://github.com/Avinash4231.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hotel Booking Application\n### Overview\nThis project is a Hotel Booking Application developed using ReactJS for the front-end and Spring Boot for the back-end. The application provides two roles: Admin and User. Each role has specific functionalities as described below.\n\n### Demo\nhttps://github.com/Avinash4231/Hotel-Booking-application-using-ReactJS-and-SpringBoot/assets/119235391/ea5f7f74-b19b-4dcd-9b83-80fd74755611\n\n## Features\n### Admin Role\n#### Admins have the following permissions:\n```\nView all bookings\nCancel any booking\nAdd new rooms\nUpdate room details\nDelete rooms\n```\n### User Role\n#### Users have the following permissions:\n```\nBook a room\nView their bookings\n```\n### Technologies Used\nFront-end: ReactJS, Redux, Axios\nBack-end: Spring Boot, Spring Security, JPA, Hibernate\nDatabase: MySQL\n\n### Installation\n###### Prerequisites - Ensure you have the following installed:\nNode.js\nnpm or yarn\nJava (JDK 11 or above)\nMySQL\n\n#### Front-end Setup\n##### Navigate to the frontend directory:\n```\ncd frontend/Hotel-booking-application\n```\n##### Install the dependencies:\n```\nnpm install\n```\n##### Start the development server:\n```\nnpm start\n```\n\n### Back-end Setup\n##### Navigate to the backend directory:\n```\ncd backend/HotelBookingApplication\n```\n\n##### Configure the database connection in src/main/resources/application.properties:\n```\nspring.datasource.url=jdbc:mysql://localhost:3306/hotel_booking\nspring.datasource.username=your_username\nspring.datasource.password=your_password\nspring.jpa.hibernate.ddl-auto=update\n```\n\n##### Build the project:\n```\n./mvnw clean install\n```\n##### Run the Spring Boot application:\n```\n./mvnw spring-boot:run\n``` \n### Usage\nRegister as a user or log in if you already have an account.\nAdmins can access the admin dashboard to manage rooms and bookings.\nUsers can browse available rooms and make bookings.\n\n### API Endpoints\n##### Admin Endpoints\nGET /api/admin/bookings - View all bookings\nDELETE /api/admin/bookings/{bookingId} - Cancel a booking\nPOST /api/admin/rooms - Add a new room\nPUT /api/admin/rooms/{roomId} - Update room details\nDELETE /api/admin/rooms/{roomId} - Delete a room\n##### User Endpoints\nPOST /api/user/bookings - Book a room\nGET /api/user/bookings - View user bookings\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favinash4231%2Fhotel-booking-application-using-reactjs-and-springboot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favinash4231%2Fhotel-booking-application-using-reactjs-and-springboot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favinash4231%2Fhotel-booking-application-using-reactjs-and-springboot/lists"}