E-Commerce Platform
acme/ecommerce-platform
E-Commerce Platform
67FairFull-stack e-commerce platform with React storefront, Express API, and PostgreSQL database. Handles product catalog, cart, checkout, and order management.
Total Runs
2
Findings Found
6
Fixed
6
Open
0
Architecture Map
System topology — 9 components, 10 connections
Repository Overview
Default Branch
main
Languages
TypeScript, JavaScript
Open Findings
6
Health Score
67/100
Key Files & Directories
src/Application source codesrc/auth/Authentication & JWT handlingsrc/cart/Shopping cart logicsrc/checkout/Checkout & payment flowsrc/products/Product catalog APIdocker-compose.ymlContainer orchestrationprisma/schema.prismaDatabase schema.env.exampleEnvironment templateREADME.mdProject documentationDevelopment Setup
Clone the repository
git clone https://github.com/acme/ecommerce-platform.git cd ecommerce-platform
Install dependencies
npm install
Configure environment
cp .env.example .env # Edit .env with your local credentials
Start services with Docker
docker-compose up -d postgres redis
Run migrations
npm run db:migrate npm run db:seed
Start development server
npm run dev
Testing Guide
Unit Tests
npm testRun Jest unit test suite
Integration Tests
npm run test:integrationRun API integration tests
Coverage Report
npm run test:coverageGenerate HTML coverage report
Agent Runs
View all →Branch: main
Fixed critical password-reset vulnerability, upgraded jsonwebtoken, repaired 3 failing tests, added 14.2% coverage, corrected documentation.
Branch: feature/new-checkout
Analysis failed: unable to install dependencies. Branch has conflicting peer dependency versions.
Findings
6 fixed · 0 open
- CRITICALFixed
Critical: Password Reset Token Not Invalidated After Use
src/auth/password-reset.ts
- HIGHFixed
Failing Tests: Cart Discount Calculation
src/cart/discount.ts
- MEDIUMFixed
Missing Edge-Case Coverage: Checkout Flow
src/checkout/edge-cases.ts
- HIGHFixed
Outdated Dependency: jsonwebtoken@8.5.1 (CVE-2022-23529)
package.json
- LOWFixed
Documentation Mismatch: Password Reset API Endpoint
README.md
- HIGHFixed
Missing HEALTH_CHECK_PATH in docker-compose.yml
docker-compose.yml