{"id":43262087,"url":"https://github.com/hex22a/techwear-shop-nextjs","last_synced_at":"2026-02-01T14:08:27.800Z","repository":{"id":271871236,"uuid":"914368298","full_name":"hex22a/techwear-shop-nextjs","owner":"hex22a","description":"example e-commerce site deployed to vercel w/ github actions","archived":false,"fork":false,"pushed_at":"2025-12-18T20:47:18.000Z","size":3402,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-21T21:52:47.263Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://techwear-shop-nextjs.vercel.app","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/hex22a.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-09T13:12:01.000Z","updated_at":"2025-12-18T20:47:22.000Z","dependencies_parsed_at":"2025-01-10T12:45:51.446Z","dependency_job_id":"6d57ee26-173f-402c-b3fa-ba4020c20252","html_url":"https://github.com/hex22a/techwear-shop-nextjs","commit_stats":null,"previous_names":["hex22a/techwear-shop-nextjs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hex22a/techwear-shop-nextjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex22a%2Ftechwear-shop-nextjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex22a%2Ftechwear-shop-nextjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex22a%2Ftechwear-shop-nextjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex22a%2Ftechwear-shop-nextjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hex22a","download_url":"https://codeload.github.com/hex22a/techwear-shop-nextjs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex22a%2Ftechwear-shop-nextjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28980209,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T13:38:33.235Z","status":"ssl_error","status_checked_at":"2026-02-01T13:38:32.912Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-02-01T14:08:27.158Z","updated_at":"2026-02-01T14:08:27.792Z","avatar_url":"https://github.com/hex22a.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"e-commerce project example\n\n# TechWear Shop\n\n![main page](cover.png)\n\nhttps://techwear-shop-nextjs.vercel.app/\n\nDesign:\nhttps://www.figma.com/community/file/1273571982885059508/e-commerce-website-template-freebie\n\nThis project demonstrates my skills as a full-stack dev.\n\n\n## Technology Stack\n\n| Technology | Purpose | Benefits |\n| --- | --- | --- |\n| **Next.js** | React framework | Server components, fast page loads, SEO optimization |\n| **TypeScript** | Programming language | Type safety, better developer experience, fewer runtime errors |\n| **PostgreSQL** | Database | Data integrity, relational model, powerful querying with NeonDB |\n| **Redis** | Session store | High-performance caching, reduced database load |\n| **TailwindCSS** | Styling | Utility-first approach, responsive design, minimal CSS |\n| **Stripe** | Payment processing | Secure transactions, comprehensive payment options |\n| **Jest \u0026 Testing Library** | Testing | Comprehensive test coverage, behavior-driven testing |\n\n\n\n## Setup\n\n### Prerequisites\n- Node.js 18+ and pnpm\n- Docker (for local database development)\n- PostgreSQL and Redis (or their Docker containers)\n\n```bash\n# clone project\ngit clone https://github.com/hex22a/techwear-shop-nextjs.git \u0026\u0026 cd techwear-shop-nextjs\n```\n\n```bash\n# install dependencies\npnpm install\n```\n\n## Development Workflow\n\n### Code Quality Tools\n\n```bash\n# run css linters\npnpm run lint:css\n\n# run eslint\npnpm run lint\n```\n\n### Unit tests\n\nUnit tests are fast tests so i have the most of them\n\n```bash\n# run unit tests\npnpm test\n```\n### Platform tests\n\nPlatform tests a.k.a. Integration tests setup their own local postgres database and use that for database testing.\n\n```bash\n# this will setup postgres container for you\n./platform_tests/test.sh\n```\n\nAlternatively, you can start postgresql manually and run `pnpm test:platform`:\n\n```bash\n docker run --rm \\\n  --name techwear_platform_tests_local \\\n  -e POSTGRES_DB=public \\\n  -e POSTGRES_USER=pg \\\n  -e POSTGRES_PASSWORD=pg \\\n  -p 5432:5432 \\\n  -v ./schema.sql:/docker-entrypoint-initdb.d/schema.sql \\\n  postgres:latest\n```\n\n## Run\n\n```bash\npnpn dev\n```\n\n## Deployment\nThe application is automatically deployed to Vercel through GitHub Actions CI/CD pipeline:\n1. Push to `main` branch triggers tests, linting, and production deployment\n2. Pull requests trigger preview deployments for easy testing and review\n\n## Acknowledgements\n- [Figma Community Template](https://www.figma.com/community/file/1273571982885059508/e-commerce-website-template-freebie) for design inspiration\n- [Vercel](https://vercel.com) for hosting\n- [NeonDB](https://neon.tech) for PostgreSQL database\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhex22a%2Ftechwear-shop-nextjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhex22a%2Ftechwear-shop-nextjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhex22a%2Ftechwear-shop-nextjs/lists"}