{"id":49040573,"url":"https://github.com/erkamyaman/mini-e-commerce","last_synced_at":"2026-04-19T14:40:02.797Z","repository":{"id":296751357,"uuid":"981579296","full_name":"erkamyaman/mini-e-commerce","owner":"erkamyaman","description":"Lightweight e-commerce app built with Angular, Tailwind CSS, PrimeNG, RxJS, and JSON Server – features cart, authentication, and role-based access control.","archived":false,"fork":false,"pushed_at":"2025-06-23T20:17:37.000Z","size":320,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-23T20:35:09.171Z","etag":null,"topics":["angular","frontend","jsonserver","primeng","rxjs","tailwindcss","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/erkamyaman.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,"zenodo":null}},"created_at":"2025-05-11T12:36:38.000Z","updated_at":"2025-06-23T20:17:40.000Z","dependencies_parsed_at":"2025-06-23T20:40:22.330Z","dependency_job_id":null,"html_url":"https://github.com/erkamyaman/mini-e-commerce","commit_stats":null,"previous_names":["yamanerkam/mini-e-commerce","erkamyaman/mini-e-commerce"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/erkamyaman/mini-e-commerce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erkamyaman%2Fmini-e-commerce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erkamyaman%2Fmini-e-commerce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erkamyaman%2Fmini-e-commerce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erkamyaman%2Fmini-e-commerce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erkamyaman","download_url":"https://codeload.github.com/erkamyaman/mini-e-commerce/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erkamyaman%2Fmini-e-commerce/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32010359,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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","frontend","jsonserver","primeng","rxjs","tailwindcss","typescript"],"created_at":"2026-04-19T14:40:02.234Z","updated_at":"2026-04-19T14:40:02.785Z","avatar_url":"https://github.com/erkamyaman.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e🛒 Mini E-Commerce\u003c/h1\u003e\n\u003cp\u003eA lightweight e-commerce web application built with Angular, Tailwind CSS, PrimeNG, and JSON Server. It demonstrates state management with RxJS and BehaviorSubject.\u003c/p\u003e\n\n\u003ch2\u003e🚀 Features\u003c/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eProduct listing and browsing\u003c/li\u003e\n  \u003cli\u003eShopping cart functionality\u003c/li\u003e\n  \u003cli\u003eResponsive design with Tailwind CSS\u003c/li\u003e\n  \u003cli\u003eRich UI with PrimeNG\u003c/li\u003e\n  \u003cli\u003eMock backend with JSON Server\u003c/li\u003e\n  \u003cli\u003eState management using Angular services and BehaviorSubject\u003c/li\u003e\n  \u003cli\u003eRouting with Angular Router\u003c/li\u003e\n  \u003cli\u003eAuthentication guard for protected routes\u003c/li\u003e\n  \u003cli\u003eRole-based access control (e.g., Admin, Logged-in users)\u003c/li\u003e\n\u003c/ul\u003e\n\n\n\u003ch2\u003e🛠️ Tech Stack\u003c/h2\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003cstrong\u003eAngular\u003c/strong\u003e 19.2.7\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eTailwind CSS\u003c/strong\u003e for utility-first styling\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003ePrimeNG\u003c/strong\u003e for ready-made UI components\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eRxJS\u003c/strong\u003e with \u003ccode\u003eBehaviorSubject\u003c/code\u003e for reactive state\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eJSON Server\u003c/strong\u003e to simulate a RESTful backend\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003e📦 Installation\u003c/h2\u003e\n\u003cpre\u003e\u003ccode\u003egit clone https://github.com/yamanerkam/mini-e-commerce.git\ncd mini-e-commerce\nnpm install\n\u003c/code\u003e\u003c/pre\u003e\n\n\u003ch2\u003e🧑‍💻 Development\u003c/h2\u003e\n\n\u003ch3\u003eStart Angular server\u003c/h3\u003e\n\u003cpre\u003e\u003ccode\u003eng serve\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eVisit: \u003ccode\u003ehttp://localhost:4200\u003c/code\u003e\u003c/p\u003e\n\n\u003ch3\u003eStart JSON server\u003c/h3\u003e\n\u003cpre\u003e\u003ccode\u003enpx json-server --watch db.json\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eJSON server will run on \u003ccode\u003ehttp://localhost:3000\u003c/code\u003e\u003c/p\u003e\n\n\u003cp\u003e\u003cem\u003eIf you prefer global install:\u003c/em\u003e\u003c/p\u003e\n\u003cpre\u003e\u003ccode\u003enpm install -g json-server\n\u003c/code\u003e\u003c/pre\u003e\n\n\u003ch2\u003e📁 Project Structure\u003c/h2\u003e\n\n\u003cpre\u003e\u003ccode\u003emini-e-commerce/\n├── .vscode/                 # VS Code editor settings\n├── public/                  # Static assets\n├── src/\n│   ├── app/\n│   │   ├── core/            # Singleton services and interceptors\n│   │   │   ├── guard/       # Route guards (auth, role-based)\n│   │   │   ├── service/     # Core/global services (auth, user, etc.)\n│   │   │   ├── types/       # Global TypeScript interfaces/types\n│   │   ├── layout/          # Layout components (header, footer, etc.)\n│   │   ├── pages/           # Page-level features (Home, Product, etc.)\n│   │   ├── shared/          # Reusable components, directives, pipes\n│   │   ├── app.routes.ts    # Central routing config\n│   │   ├── app.component.ts/html/css\n│   │   ├── app.service.ts   # App-level logic\n│   │   └── app.config.ts    # Global app config\n│   ├── assets/              # Images, icons, etc.\n│   ├── environments/        # Environment files (dev, prod)\n│   ├── main.ts              # App entry point\n│   └── index.html           # Base HTML template\n├── db.json                  # JSON Server mock API\n├── primeNG.config.ts        # PrimeNG setup and themes\n├── tailwind.config.js       # Tailwind CSS config\n├── angular.json             # Angular workspace config\n├── package.json             # Project dependencies\n├── .editorconfig            # Coding style config\n├── .prettierrc.json         # Prettier formatting rules\n├── tsconfig.app.json        # TypeScript config\n├── README.md                # Project documentation\n\u003c/code\u003e\u003c/pre\u003e\n\n\n\u003ch2\u003e🤝 Contributing\u003c/h2\u003e\n\u003cp\u003eContributions are welcome! Please open an issue or pull request for enhancements or bug fixes.\u003c/p\u003e\n\n\u003ch2\u003e📄 License\u003c/h2\u003e\n\u003cp\u003eThis project is licensed under the MIT License.\u003c/p\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferkamyaman%2Fmini-e-commerce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferkamyaman%2Fmini-e-commerce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferkamyaman%2Fmini-e-commerce/lists"}