{"id":29198093,"url":"https://github.com/akhilesh664/microservices","last_synced_at":"2026-07-18T10:02:05.653Z","repository":{"id":301136648,"uuid":"1008181838","full_name":"Akhilesh664/Microservices","owner":"Akhilesh664","description":"📦 A collection of real-world Java + Spring Boot Microservices projects 🌐 built using modern architectures like REST APIs, Service Discovery, API Gateway, Database Integration, and more! Perfect for learning, practicing, and showcasing your backend skills. 💡","archived":false,"fork":false,"pushed_at":"2025-06-25T09:59:43.000Z","size":73,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-25T06:48:33.507Z","etag":null,"topics":["api-gateway","jwt-auth","microservices","mysql","netflix-eureka","rest-api","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/Akhilesh664.png","metadata":{"files":{"readme":"README.markdown","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,"zenodo":null}},"created_at":"2025-06-25T06:45:03.000Z","updated_at":"2025-06-27T17:43:11.000Z","dependencies_parsed_at":"2025-06-25T11:02:07.628Z","dependency_job_id":null,"html_url":"https://github.com/Akhilesh664/Microservices","commit_stats":null,"previous_names":["akhilesh664/microservices"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Akhilesh664/Microservices","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akhilesh664%2FMicroservices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akhilesh664%2FMicroservices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akhilesh664%2FMicroservices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akhilesh664%2FMicroservices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Akhilesh664","download_url":"https://codeload.github.com/Akhilesh664/Microservices/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akhilesh664%2FMicroservices/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35614491,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-18T02:00:07.223Z","response_time":61,"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":["api-gateway","jwt-auth","microservices","mysql","netflix-eureka","rest-api","spring-boot"],"created_at":"2025-07-02T08:41:04.601Z","updated_at":"2026-07-18T10:02:05.600Z","avatar_url":"https://github.com/Akhilesh664.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Microservices Portfolio 🚀\n\nWelcome to my Microservices Portfolio! This repository showcases a collection of Spring Boot-based microservices projects designed for various functionalities, including AI-powered text summarization, hotel management, sentiment-based review systems, and more. Each project is built with modern Java technologies and follows a microservices architecture for scalability and modularity. Below, you'll find detailed descriptions of the prioritized projects (Text Summarizer, Hotel Management, and Review System) followed by other notable microservices.\n\n---\n\n## Table of Contents\n- [Text Summarizer Microservice 📝](#text-summarizer-microservice)\n- [Hotel Management Microservices 🏨](#hotel-management-microservices)\n- [Sentiment-Based Product Review System 🌟](#sentiment-based-product-review-system)\n- [Other Microservices](#other-microservices)\n  - [Auth Service App](#auth-service-app)\n  - [Feedback Service](#feedback-service)\n  - [Product Catalog](#product-catalog)\n- [Contributing 🤝](#contributing)\n- [License 📜](#license)\n\n---\n\n## Text Summarizer Microservice 📝\n\nThis Spring Boot-based microservice leverages **ONNX models** for text summarization, providing a REST API and a Thymeleaf-based web interface to summarize input text using an encoder-decoder architecture. The application uses the **ONNX Runtime** for model inference, with placeholder preprocessing and postprocessing pipelines for tokenization.\n\n### Key Features\n- Summarize text via REST API (`/api/summarize`) or web UI.\n- Uses `encoder_model.onnx` and `decoder_model.onnx` for AI-driven summarization.\n- Built with **Spring Boot**, **Thymeleaf**, and **ONNX Runtime**.\n\n### Setup Instructions\n1. **Clone the Repository**:\n   ```bash\n   git clone \u003cyour-repository-url\u003e\n   cd TextSummarizer\n   ```\n2. **Place ONNX Models**:\n   - Download `encoder_model.onnx` and `decoder_model.onnx` from [Google Drive Folder](\u003cyour-drive-folder-link\u003e).\n   - Place them in `src/main/resources/model/`.\n3. **Install Dependencies**:\n   - Ensure `pom.xml` includes:\n     ```xml\n     \u003cdependencies\u003e\n         \u003cdependency\u003e\n             \u003cgroupId\u003eorg.springframework.boot\u003c/groupId\u003e\n             \u003cartifactId\u003espring-boot-starter-web\u003c/artifactId\u003e\n             \u003cversion\u003e3.4.5\u003c/version\u003e\n         \u003c/dependency\u003e\n         \u003cdependency\u003e\n             \u003cgroupId\u003eorg.springframework.boot\u003c/groupId\u003e\n             \u003cartifactId\u003espring-boot-starter-thymeleaf\u003c/artifactId\u003e\n             \u003cversion\u003e3.4.5\u003c/version\u003e\n         \u003c/dependency\u003e\n         \u003cdependency\u003e\n             \u003cgroupId\u003ecom.microsoft.onnxruntime\u003c/groupId\u003e\n             \u003cartifactId\u003eonnxruntime\u003c/artifactId\u003e\n             \u003cversion\u003e1.17.0\u003c/version\u003e\n         \u003c/dependency\u003e\n         \u003cdependency\u003e\n             \u003cgroupId\u003eai.djl.huggingface\u003c/groupId\u003e\n             \u003cartifactId\u003etokenizers\u003c/artifactId\u003e\n             \u003cversion\u003e0.32.0\u003c/version\u003e\n         \u003c/dependency\u003e\n     \u003c/dependencies\u003e\n     ```\n4. **Run the Application**:\n   ```bash\n   mvn spring-boot:run\n   ```\n5. **Access**:\n   - REST API: `http://localhost:8080/api/summarize`\n   - Web UI: `http://localhost:8080/`\n\n## Model Download\n\nThe ONNX model is too large to be included in the repo.\n\n➡️ [Download model.onnx from Google Drive]: [https://drive.google.com/drive/folders/1USD0UmWzLojfP1NG0jOpYGXGFxa1dgWa?usp=sharing]\n\n### Notes\n- Replace placeholder tokenization with **Hugging Face’s tokenizer** for production use.\n- Use **Netron** (https://netron.app/) to inspect model inputs/outputs.\n\n---\n\n## Hotel Management Microservices 🏨\n\nThis project is a robust microservices-based system for managing hotel operations, including room bookings, hotel details, and user ratings. It uses **Spring Cloud** for service discovery and configuration, with **OAuth 2.0** for secure authentication.\n\n### Key Features\n- **User Service**: User registration, authentication, room bookings, and wallet transactions.\n- **Hotel Service**: Add hotels/rooms, retrieve details, and list available/booked rooms.\n- **Booking Service**: Manage room bookings and retrieve booking details.\n- **Rating Service**: Add and retrieve hotel ratings/reviews.\n- **Service Registry \u0026 API Gateway**: Centralized service discovery and routing.\n\n### Tech Stack\n- **Java**, **Spring Boot**, **Spring Cloud** (Eureka, Config, Gateway)\n- **Spring Security**, **OAuth 2.0**, **Spring Data JPA**, **Spring Data MongoDB**\n- **MySQL**, **MongoDB**, **Thymeleaf**, **Okta**\n\n### Setup Instructions\n1. **Clone the Repository**:\n   ```bash\n   git clone \u003cyour-repository-url\u003e\n   cd Hotel-Management-Microservices\n   ```\n2. **Configure Services**:\n   - Update properties in `application.properties` for each microservice.\n3. **Run Services**:\n   ```bash\n   mvn spring-boot:run\n   ```\n4. **Check Service Status**:\n   - Eureka Dashboard: `http://localhost:8761`\n   - API Gateway: `http://localhost:8086`\n\n### API Endpoints\n- **User Service**: `http://localhost:8086/users/register`, `http://localhost:8086/users/addBooking`\n- **Hotel Service**: `http://localhost:8086/hotels/all`, `http://localhost:8086/hotels/{hotelId}`\n- **Rating Service**: `http://localhost:8086/ratings/add`, `http://localhost:8086/ratings/hotel/{hotelId}`\n\n---\n\n## Sentiment-Based Product Review System 🌟\n\nThis beginner-friendly microservices application allows users to submit product reviews and analyze their sentiment using a **lexicon-based AI approach**. It’s completely free, requiring no external APIs or cloud services.\n\n### Key Features\n- **Review Service**: CRUD operations for reviews, stored in **MySQL**.\n- **Sentiment Service**: Analyzes review sentiment (POSITIVE, NEUTRAL, NEGATIVE) using a local word list.\n- **Frontend**: Simple HTML/CSS/JS interface for submitting and viewing reviews.\n\n### Tech Stack\n- **Java**, **Spring Boot**, **Spring Data JPA**\n- **MySQL**, **HTML/CSS/JavaScript**\n\n### Setup Instructions\n1. **Clone the Repository**:\n   ```bash\n   git clone \u003cyour-repository-url\u003e\n   cd review-system\n   ```\n2. **Set Up MySQL**:\n   ```sql\n   CREATE DATABASE review_system;\n   USE review_system;\n   CREATE TABLE reviews (\n       id BIGINT AUTO_INCREMENT PRIMARY KEY,\n       product_id VARCHAR(50) NOT NULL,\n       review_text TEXT NOT NULL,\n       sentiment VARCHAR(20) DEFAULT 'PENDING',\n       created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP\n   );\n   ```\n3. **Run Services**:\n   - Review Service: `cd review-service \u0026\u0026 mvn spring-boot:run`\n   - Sentiment Service: `cd sentiment-service \u0026\u0026 mvn spring-boot:run`\n   - Frontend: `cd frontend \u0026\u0026 python3 -m http.server 8000`\n4. **Access**:\n   - Frontend: `http://localhost:8000`\n   - Review API: `http://localhost:8080/api/reviews`\n   - Sentiment API: `http://localhost:8081/api/sentiment/analyze/{reviewId}`\n\n---\n\n## Other Microservices\n\n### Auth Service App 🔒\n- **Description**: A Spring Boot microservice for user authentication and authorization using **OAuth 2.0** and **JWT**.\n- **Features**: User login, token generation, and role-based access control.\n- **Tech Stack**: Spring Boot, Spring Security, Okta.\n- **API Endpoints**: `http://localhost:8080/auth/login`, `http://localhost:8080/auth/validate`.\n\n---\n\n### Feedback Service 📬\n- **Description**: A microservice for collecting and managing user feedback.\n- **Features**: Submit feedback, retrieve feedback by user or product, and basic analytics.\n- **Tech Stack**: Spring Boot, Spring Data JPA, MySQL.\n- **API Endpoints**: `http://localhost:8082/feedback/submit`, `http://localhost:8082/feedback/all`.\n\n---\n\n### Product Catalog 🛍️\n- **Description**: A microservice to manage product listings and details.\n- **Features**: Add, update, delete, and retrieve product information.\n- **Tech Stack**: Spring Boot, Spring Data MongoDB, MongoDB.\n- **API Endpoints**: `http://localhost:8083/products/all`, `http://localhost:8083/products/{productId}`.\n\n---\n\n## Contributing 🤝\nContributions are welcome! Please create an issue or submit a pull request to contribute to any of the microservices in this portfolio.\n\n## License 📜\nThis project is licensed under the MIT License.\n\n**Last Updated**: June 25, 2025","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakhilesh664%2Fmicroservices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakhilesh664%2Fmicroservices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakhilesh664%2Fmicroservices/lists"}