How imykhailychenko/online-shop works
Project type and purpose
• This is a full‑stack online shop application (“Online Shop”)
• Frontend: React + TypeScript + Redux + Saga
• Backend: Nest.js + TypeScript + Node.js + TypeORM
• Database: PostgreSQL
• Deployed on Heroku (backend) and serves a React SPA
File structure
Top‐level:
• client/ – React single‑page app
– src/ (components, hooks, store, assets, styles, interface definitions)
– public/ (static HTML, manifest, robots.txt)
– build & lint configs
• server/ – Nest.js backend
– src/ (modules: auth, products, pictures, uploads, users)
– Each module: controller(s), service(s), DTOs, entities
– TypeORM entities in products/entities and users
– Main entry: src/main.ts, src/app.module.ts
– Tests: e2e + unit specs
• Root: build.sh, dev.sh, prod.sh, Procfile (Heroku), package.json
README for insights
• Technology stack listed
• Notes on Heroku free‐dyno sleep behavior