{"id":18153226,"url":"https://github.com/kazvee/learning-spring","last_synced_at":"2026-02-10T09:03:48.374Z","repository":{"id":259274667,"uuid":"871758740","full_name":"kazvee/learning-spring","owner":"kazvee","description":"🌿 Learning Spring ☕ is a repository for a learning project that uses Spring Boot 3 to explore Spring 6 as a Java framework","archived":false,"fork":false,"pushed_at":"2024-10-24T02:55:37.000Z","size":3788,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-30T16:07:17.994Z","etag":null,"topics":["java","spring","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","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/kazvee.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-10-12T21:15:03.000Z","updated_at":"2025-02-05T20:16:10.000Z","dependencies_parsed_at":"2024-10-24T02:44:00.652Z","dependency_job_id":"de1fc07f-f28f-495d-8cd3-c875ab48fbc7","html_url":"https://github.com/kazvee/learning-spring","commit_stats":null,"previous_names":["kazvee/learning-spring"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazvee%2Flearning-spring","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazvee%2Flearning-spring/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazvee%2Flearning-spring/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazvee%2Flearning-spring/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kazvee","download_url":"https://codeload.github.com/kazvee/learning-spring/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251739654,"owners_count":21635892,"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":["java","spring","spring-boot"],"created_at":"2024-11-02T03:06:04.804Z","updated_at":"2026-02-10T09:03:43.352Z","avatar_url":"https://github.com/kazvee.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌿 Learning Spring ☕\n\nThis repository documents my progress during the 'Learning Spring 6 with Spring Boot 3' course. 👩‍💻\n\nI've also made some styling changes and added a landing page for the fictitious Landon Hotel just for fun! 🏨\n\n## Table of Contents\n\n- [Final Product](#final-product)\n- [Image Credits](#image-credits)\n- [API Endpoints](#api-endpoints)\n- [Key Dependencies](#key-dependencies)\n- [Installation](#installation)\n\n## Final Product\n\n### Main Page:\n\n![Landon_Hotel_Main_Page](/landon-hotel/src/main/resources/static/images/readme/Landon_Hotel_Main_Page.png)\n\n### Rooms Page:\n\n![Landon_Hotel_Rooms_Page](/landon-hotel/src/main/resources/static/images/readme/Landon_Hotel_Rooms_Page.png)\n\n### Reservations Page:\n\n![Landon_Hotel_Reservations_Page](/landon-hotel/src/main/resources/static/images/readme/Landon_Hotel_Reservations_Page.png)\n\n## Image Credits\n\nHotel image by [Hans-Joachim Müller-le Plat](https://pixabay.com/users/zuluzulu-2223810/?utm_source=link-attribution\u0026utm_medium=referral\u0026utm_campaign=image\u0026utm_content=1567013) from [Pixabay](https://pixabay.com//?utm_source=link-attribution\u0026utm_medium=referral\u0026utm_campaign=image\u0026utm_content=1567013)\n\n## API Endpoints\n\nYou can test the API endpoints using curl and jq:\n`curl http://localhost:8080/api/rooms | jq`\n\nOr use your web browser to visit the available API endpoints:\n\n### Rooms\n- Get all rooms:  \n  `http://localhost:8080/api/rooms`\n\n- Get a specific room by ID:  \n  `http://localhost:8080/api/rooms/{roomId}`  \n\n### Guests\n- Get all guests:  \n  `http://localhost:8080/api/guests`\n\n- Get a specific guest by ID:  \n  `http://localhost:8080/api/guests/{guestId}`  \n\n### Reservations\n- Get all reservations:  \n  `http://localhost:8080/api/reservations`\n  \n- Get a specific reservation by ID:  \n  `http://localhost:8080/api/reservations/{reservationId}`\n\n## Key Dependencies\n\n- Java v21\n- Maven v3\n- Spring Framework (including Spring Boot)\n- PostgreSQL\n- Dotenv-java\n- Lombok\n- Thymeleaf\n\n## Installation\n\n- Fork this repository to your own GitHub account\n- Clone your fork onto your local machine\n- Navigate to the landon-hotel directory\n  `cd landon-hotel`\n- Install dependencies: \n  `mvn clean install`\n- Create a PostgreSQL database for the application\n- Populate the database using the SQL schema and data files located in the `bin/postgresql` directory\n- Create a new `.env` file in the `landon-hotel` directory with your database credentials (use the `.env.example` file for guidance)\n- Run the app from inside the `landon-hotel` directory\n  `mvn spring-boot:run`\n- Navigate to [http://localhost:8080](http://localhost:8080/) in your browser","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazvee%2Flearning-spring","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkazvee%2Flearning-spring","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazvee%2Flearning-spring/lists"}