{"id":15147562,"url":"https://github.com/andrealcobia/bookstore-stack","last_synced_at":"2026-02-09T02:02:36.553Z","repository":{"id":252933360,"uuid":"838305437","full_name":"andrealcobia/bookstore-stack","owner":"andrealcobia","description":"Bootstore-Stack is a full-stack web application that provides a web interface for managing bookstore information","archived":false,"fork":false,"pushed_at":"2024-08-13T09:56:28.000Z","size":194,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-03T12:38:41.743Z","etag":null,"topics":["angular","docker","docker-compose","gradle","mysql","spring-boot"],"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/andrealcobia.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-08-05T11:23:02.000Z","updated_at":"2024-08-13T10:22:48.000Z","dependencies_parsed_at":"2024-08-16T23:03:52.153Z","dependency_job_id":null,"html_url":"https://github.com/andrealcobia/bookstore-stack","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"ab013fa18e345bcd45c1298d1ed366ad2de5f1d1"},"previous_names":["andrealcobia/bookstore-stack"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andrealcobia/bookstore-stack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrealcobia%2Fbookstore-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrealcobia%2Fbookstore-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrealcobia%2Fbookstore-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrealcobia%2Fbookstore-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrealcobia","download_url":"https://codeload.github.com/andrealcobia/bookstore-stack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrealcobia%2Fbookstore-stack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29254303,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T01:52:29.835Z","status":"online","status_checked_at":"2026-02-09T02:00:09.501Z","response_time":56,"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":["angular","docker","docker-compose","gradle","mysql","spring-boot"],"created_at":"2024-09-26T12:42:22.209Z","updated_at":"2026-02-09T02:02:36.514Z","avatar_url":"https://github.com/andrealcobia.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bootstore-Stack\n\nBootstore-Stack is a full-stack web application that provides a web interface for managing bookstore information. This project consists of two main components:\n\n- **Bookstore-Angular**: The frontend application built with Angular.\n- **Bookstore-Spring**: The backend application built with Spring Boot.\n- **MySQL Database**: Used for storing data.\n- **Docker Compose**: Used to orchestrate the entire stack.\n\n## Table of Contents\n\n- [Project Structure](#project-structure)\n- [Prerequisites](#prerequisites)\n- [Installation](#installation)\n- [Running the Application](#running-the-application)\n- [Usage](#usage)\n- [API Endpoints](#api-endpoints)\n\n## Project Structure\n\n![image](https://github.com/user-attachments/assets/bc891594-baed-4e0f-bfa4-ecddd0cb0e26)\n\n## Prerequisites\n\nBefore running this project, ensure that you have the following installed on your machine:\n\n- **Docker**: [Install Docker](https://docs.docker.com/get-docker/)\n- **Docker Compose**: [Install Docker Compose](https://docs.docker.com/compose/install/)\n- **Node.js**: [Install Node.js](https://nodejs.org/)\n- **Java JDK 11+**: [Install JDK](https://openjdk.java.net/install/)\n\n## Installation\n\n1. **Clone the repository**:\n   ```bash\n   git clone https://github.com/your-username/bootstore-stack.git\n   cd bootstore-stack\n\n2. **Build the Angular frontend**:\n   ```bash\n   cd bookstore-angular\n   npm install\n   npm run build\n   cd ..\n\n3. **Build the Spring Boot backend**:\n   ```bash\n   cd bookstore-spring\n   ./gradlew build\n   cd ..\n  \n4. **Set up the MySQL database**:\n   The MySQL database is automatically configured using Docker Compose.\n\n## Running the Application\nTo start the entire stack (Angular frontend, Spring Boot backend, and MySQL database), run the following command from the root directory:\n\n ```bash\n docker-compose up --build\n ```\nThis command will:\n\n- Start the MySQL database and initialize it with the necessary schema.\n- Start the Spring Boot backend, which will connect to the MySQL database.\n- Serve the Angular frontend.\n- You can access the application at http://localhost:4200 and the Spring Boot API at http://localhost:8080\n\n## Usage\n\n- Access the Web Interface: Navigate to http://localhost:4200 in your web browser to access the Angular-based user interface.\n\n- Manage Bookstore Data: Use the web interface to input and manage bookstore data, which is then saved to the MySQL database through the Spring Boot backend.\n\n## API Endpoints\n\nHere are the primary API endpoints provided by the Spring Boot backend:\n\n- **GET** /api/books: Retrieve a list of all books.\n- **POST** /api/books: Add a new book.\n- **PUT** /api/books/{id}: Update an existing book.\n- **DELETE** /api/books/{id}: Delete a book by its ID.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrealcobia%2Fbookstore-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrealcobia%2Fbookstore-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrealcobia%2Fbookstore-stack/lists"}