{"id":26264411,"url":"https://github.com/pagarciasima/e-commerce-angular-01-25","last_synced_at":"2025-11-03T17:37:42.205Z","repository":{"id":275333214,"uuid":"921193733","full_name":"PagarciaSima/E-commerce-Angular-01-25","owner":"PagarciaSima","description":"E-Commerce app backend made with Angular","archived":false,"fork":false,"pushed_at":"2025-02-08T11:28:38.000Z","size":2321,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T02:15:14.527Z","etag":null,"topics":["angular","java","jwt","paypal","spring-boot-3","spring-data-jpa","spring-security","typescript"],"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/PagarciaSima.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-23T14:16:40.000Z","updated_at":"2025-02-09T11:03:34.000Z","dependencies_parsed_at":"2025-02-01T19:35:01.743Z","dependency_job_id":null,"html_url":"https://github.com/PagarciaSima/E-commerce-Angular-01-25","commit_stats":null,"previous_names":["pagarciasima/e-commerce-angular-01-25-","pagarciasima/e-commerce-angular-01-25"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PagarciaSima%2FE-commerce-Angular-01-25","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PagarciaSima%2FE-commerce-Angular-01-25/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PagarciaSima%2FE-commerce-Angular-01-25/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PagarciaSima%2FE-commerce-Angular-01-25/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PagarciaSima","download_url":"https://codeload.github.com/PagarciaSima/E-commerce-Angular-01-25/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243510120,"owners_count":20302295,"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":["angular","java","jwt","paypal","spring-boot-3","spring-data-jpa","spring-security","typescript"],"created_at":"2025-03-14T02:15:18.272Z","updated_at":"2025-11-03T17:37:42.167Z","avatar_url":"https://github.com/PagarciaSima.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# E-commerce Full Stack Application\n\nThis is a full-stack E-commerce application built with Angular (frontend) and Java Spring Boot (backend). The application supports two user roles: **Admin** and **User**.\n\n- **Admin**: Can perform CRUD operations on categories, products, and users.\n- **User**: Can browse products, add them to the cart, and create orders (integrated with PayPal Sandbox for payments).\n\n---\n\n## Frontend Repository\n\nThe Back end of the application is built with Spring Boot and can be found at:\n\n[Backend repository - Spring Boot](https://github.com/PagarciaSima/E-commerce-Spring-Boot-01-25)\n\n---\n\n## Features\n- **User Authentication**: Secure login and JWT-based authentication.\n- **Role-Based Access Control**: Different functionalities for Admin and User.\n- **Product Management**: CRUD operations for products (Admin only).\n- **Category Management**: Manage product categories (Admin only).\n- **User Management**: Admin can manage user accounts.\n- **Shopping Cart**: Users can add/remove products to/from the cart.\n- **Order Processing**: Users can place orders and make payments via PayPal Sandbox.\n- **API Documentation**: Integrated with OpenAPI for API documentation.\n- **Unit Testing**: Mockito for backend unit tests.\n\n---\n\n## Technologies\n\n### Backend (Spring Boot 3.4.0 / Java 17)\n- **Spring Boot 3.4.0**\n- **Spring Data JPA** (Database access)\n- **Spring Security \u0026 JWT** (Authentication \u0026 Authorization)\n- **PostgreSQL** (Database)\n- **Lombok** (Boilerplate code reduction)\n- **MapStruct** (Object Mapping)\n- **dotenv** (Environment variables management)\n- **Mockito** (Unit testing)\n- **OpenAPI** (API documentation)\n\n### Frontend (Angular 16)\n- **Angular 16** (Core framework)\n- **Bootstrap 5.3.3** (Styling \u0026 layout)\n- **ngx-toastr** (Notifications)\n- **SweetAlert2** (Custom alerts \u0026 modals)\n- **FontAwesome** (Icons)\n- **RxJS** (Reactive programming)\n\n---\n\n## Interfaces \n\n### Login\n![login](img/login.png)\n\n### Register\n![register](img/register.png)\n\n### Admin / products\n![products](img/admin_products.png)\n\n### Admin / Create-Edit products\n![Form product](img/admin_new_product.png)\n\n### Admin / Categories\n\n![categories](img/admin_categories.png)\n\n### User / Home\n![user home](img/user_home.png)\n\n### Product detail\n![product detail](img/product_detail.png)\n\n### PayPal Payment Sandbox\n![paypal1](img/paypal1.png)\n![paypal2](img/paypal2.png)\n\n---\n\n## Open Api Doc\n \n![openapi](img/openapi.png)\n\n## Extras\n\n- **Database (BDD)**: The database used is PostgreSQL. The database schema, along with the scripts for table creation and initial data, can be found in the \"extras\" directory.\n\n- **Postman Collection**: You can find the Postman collection to test all the API endpoints in the \"extras\" directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpagarciasima%2Fe-commerce-angular-01-25","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpagarciasima%2Fe-commerce-angular-01-25","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpagarciasima%2Fe-commerce-angular-01-25/lists"}