{"id":15118483,"url":"https://github.com/mehrabmp/kara-shop","last_synced_at":"2025-05-16T07:06:12.174Z","repository":{"id":65368452,"uuid":"516111068","full_name":"mehrabmp/kara-shop","owner":"mehrabmp","description":"KARA - Ecommerce built with T3 Stack : NextJS, TypeScript, tRPC, Prisma, NextAuth and styled with Tailwind CSS","archived":false,"fork":false,"pushed_at":"2025-04-24T09:42:25.000Z","size":10980,"stargazers_count":347,"open_issues_count":17,"forks_count":61,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-24T10:38:35.805Z","etag":null,"topics":["ecommerce","i18next","next-auth","nextjs","postgresql","prisma","react","shop","t3-stack","tailwindcss","trpc","typescript","vercel"],"latest_commit_sha":null,"homepage":"https://karashop.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mehrabmp.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":"2022-07-20T19:32:51.000Z","updated_at":"2025-04-22T21:43:06.000Z","dependencies_parsed_at":"2024-01-17T07:27:33.399Z","dependency_job_id":"c236f5eb-3fed-41fe-91d4-f66c8d55613b","html_url":"https://github.com/mehrabmp/kara-shop","commit_stats":{"total_commits":489,"total_committers":3,"mean_commits":163.0,"dds":0.4130879345603272,"last_synced_commit":"7257c03f65e8069a5d85478d7dc50b364c49281d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehrabmp%2Fkara-shop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehrabmp%2Fkara-shop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehrabmp%2Fkara-shop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehrabmp%2Fkara-shop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mehrabmp","download_url":"https://codeload.github.com/mehrabmp/kara-shop/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254485062,"owners_count":22078767,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["ecommerce","i18next","next-auth","nextjs","postgresql","prisma","react","shop","t3-stack","tailwindcss","trpc","typescript","vercel"],"created_at":"2024-09-26T01:46:17.186Z","updated_at":"2025-05-16T07:06:07.165Z","avatar_url":"https://github.com/mehrabmp.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# KARA Shop\n\nFull-stack e-commerce built with [T3 Stack](https://create.t3.gg/)\n\n- **Framework**: [Next.js](https://nextjs.org/)\n- **Database**: [PostgreSQL](https://www.postgresql.org/)\n- **ORM**: [Prisma](https://prisma.io/)\n- **Authentication**: [NextAuth.js](https://next-auth.js.org/)\n- **Deployment**: [Vercel](https://vercel.com)\n- **Styling**: [Tailwind CSS](https://tailwindcss.com/)\n\nHome page\n![homepage](public/screenshots/homepage.png)\n\nProducts page\n![homepage](public/screenshots/products.png)\n\n## Environment Variables\n\nTo run this project, you will need to add the following environment variables to your `.env` file\n\n```bash\n# Database URL for prisma\nDATABASE_URL=\"postgresql://johndoe:randompassword@localhost:5432/mydb?schema=public\"\n\n# URL of the website\nNEXTAUTH_URL='http://localhost:3000'\n\n# Used to hash tokens, sign/encrypt cookies and ...\n# You can quickly create a good value with this command\n# openssl rand -base64 32\nNEXTAUTH_SECRET=VJmi1XgBd48qWC2xn/kNRc15OIY+P4a1uXgV42uaHuw=\n\n# GitHub oAuth\nGITHUB_ID=YOUR_GITHUB_CLIENT_ID\nGITHUB_SECRET=YOUR_GITHUB_CLIENT_SECRET\n\n# Google oAuth\nGOOGLE_CLIENT_ID=YOUR_GOOGLE_CLIENT_ID\nGOOGLE_CLIENT_SECRET=YOUR_GOOGLE_CLIENT_SECRET\n\n# Twitter oAuth\nTWITTER_CLIENT_ID=YOUR_TWITTER_CLIENT_ID\nTWITTER_CLIENT_SECRET=YOUR_TWITTER_CLIENT_SECRET\n```\n\n## Run Locally\n\nClone the project\n\n```bash\n  git clone https://github.com/mehrabmp/kara-shop.git\n```\n\nGo to the project directory\n\n```bash\n  cd kara-shop\n```\n\nInstall dependencies\n\n```bash\n  pnpm install\n```\n\nApply migrations to database\n\n```bash\n  pnpm migrate-dev\n```\n\nSeed the database\n\n```bash\n  pnpm db-seed\n```\n\nStart the server\n\n```bash\n  pnpm dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehrabmp%2Fkara-shop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmehrabmp%2Fkara-shop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehrabmp%2Fkara-shop/lists"}