{"id":49532453,"url":"https://github.com/rasyosef/heirarch-square","last_synced_at":"2026-05-02T08:32:12.783Z","repository":{"id":325971135,"uuid":"1103163512","full_name":"rasyosef/heirarch-square","owner":"rasyosef","description":"e-commerce site built with Next.js, TypeScript, React, Shadcn, Prisma, PostgreSQL, Redis, Upstash AI Search, NextAuth, and Docker","archived":false,"fork":false,"pushed_at":"2025-12-30T20:45:12.000Z","size":13794,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-03T19:09:33.194Z","etag":null,"topics":["docker","docker-compose","e-commerce","next-auth","nextjs","postgresql","prisma-orm","react","redis","shadcn-ui","typescript","upstash-search","vercel"],"latest_commit_sha":null,"homepage":"https://heirarch-square.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/rasyosef.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-11-24T14:09:12.000Z","updated_at":"2026-01-01T22:14:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/rasyosef/heirarch-square","commit_stats":null,"previous_names":["rasyosef/heirarch-square"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rasyosef/heirarch-square","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasyosef%2Fheirarch-square","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasyosef%2Fheirarch-square/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasyosef%2Fheirarch-square/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasyosef%2Fheirarch-square/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rasyosef","download_url":"https://codeload.github.com/rasyosef/heirarch-square/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasyosef%2Fheirarch-square/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32528218,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"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":["docker","docker-compose","e-commerce","next-auth","nextjs","postgresql","prisma-orm","react","redis","shadcn-ui","typescript","upstash-search","vercel"],"created_at":"2026-05-02T08:32:12.014Z","updated_at":"2026-05-02T08:32:12.723Z","avatar_url":"https://github.com/rasyosef.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Heirarch Square\n\n\u003ci\u003e\nHeirarch Square is an e-commerce site built with Next.js and PostgreSQL\n\u003c/i\u003e\n\u003cbr/\u003e\u003cbr/\u003e\n\nDeployed URL: [heirarch-square.vercel.app](https://heirarch-square.vercel.app)\n\n![homepage](public/homepage-screenshot.png)\n\n## Running Locally\n\n\nFirst, create a `.env` file in the root directory of the project and set the following environment variables.\n\n```shell\n# a secret for NextAuth, can be generated using https://generate-secret.vercel.app/32\n\nAUTH_SECRET=\nAUTH_TRUST_HOST=true\nNEXTAUTH_URL=http://localhost:3000\n\n# postgres database connection string\n\nDATABASE_URL=\n\n# vercel blob write token, used when uploading product images\nBLOB_READ_WRITE_TOKEN=\n```\n\nThen, run the development server:\n\n```bash\npnpm install\npnpm prisma db push\npnpm prisma generate\npnpm dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\nVisit [http://localhost:3000/seed](http://localhost:3000/seed) to seed the database.\n\n## Running with Docker\n\nFirst, create a `.env` file and set the following environment variables.\n\n```shell\n# a secret for NextAuth, can be generated using https://generate-secret.vercel.app/32\n\nAUTH_SECRET=\nAUTH_TRUST_HOST=true\nNEXTAUTH_URL=http://localhost:3000\n\n# postgres database connection string\n\nDATABASE_URL=postgresql://postgres:postgres@db:5432/postgres\n\n# vercel blob write token, used when uploading product images\nBLOB_READ_WRITE_TOKEN=\n```\n\nThen, start the docker containers\n\n```bash\ndocker compose up\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\nVisit [http://localhost:3000/seed](http://localhost:3000/seed) to seed the database.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frasyosef%2Fheirarch-square","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frasyosef%2Fheirarch-square","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frasyosef%2Fheirarch-square/lists"}