{"id":19358889,"url":"https://github.com/tiesen243/yuki","last_synced_at":"2025-04-23T11:32:29.263Z","repository":{"id":249520823,"uuid":"831739456","full_name":"tiesen243/yuki","owner":"tiesen243","description":"Yuki is a full-stack e-commerce platform built with Next.js, Prisma, and tRPC. It is a modern, fast, and secure platform that allows you to create your own e-commerce store with ease.","archived":false,"fork":false,"pushed_at":"2024-10-24T15:25:47.000Z","size":5588,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-25T01:34:18.601Z","etag":null,"topics":["ecommerce","lucia-auth","nextjs","prisma","trpc","uploadthings"],"latest_commit_sha":null,"homepage":"https://yuki.tiesen.id.vn","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/tiesen243.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-07-21T13:43:14.000Z","updated_at":"2024-10-24T15:25:51.000Z","dependencies_parsed_at":"2024-08-24T09:44:37.667Z","dependency_job_id":"3fa54c70-91bd-4870-ab08-76b5437533d6","html_url":"https://github.com/tiesen243/yuki","commit_stats":null,"previous_names":["tiesen243/yuki"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiesen243%2Fyuki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiesen243%2Fyuki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiesen243%2Fyuki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiesen243%2Fyuki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiesen243","download_url":"https://codeload.github.com/tiesen243/yuki/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250425406,"owners_count":21428560,"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","lucia-auth","nextjs","prisma","trpc","uploadthings"],"created_at":"2024-11-10T07:13:25.190Z","updated_at":"2025-04-23T11:32:29.257Z","avatar_url":"https://github.com/tiesen243.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yuki\n\nAn innovative E-Commerce application built using Turbo repo and Next.js, offering a seamless shopping experience with fast performance and modern design.\n\n## Installation\n\n\u003e [!NOTE]\n\u003e\n\u003e Make sure to follow the system requirements specified in [`package.json#engines`](./package.json#L41) before proceeding.\n\nThere are two ways of initializing an app using the `create-yuki-turbo` starter. You can either use this repository as a template:\n\nClick the \"Use this template\" button on the top right of the repository,\n\nor use Turbo's CLI to init your project (use Bun as package manager):\n\n```bash\nnpx create-turbo@latest -e https://github.com/tiesen243/create-yuki-turbo\n```\n\n## About\n\nThis template is forked from [create-t3-turbo](https://github.com/t3-oss/create-t3-turbo) with some modifications to fit my personal preferences. It is a monorepos template for building full-stack applications with [Turborepo](https://turbo.build), [Next.js](https://nextjs.org), [tRPC](https://trpc.io) and more.\n\nIt uses [Turborepo](https://turborepo.org) and contains:\n\n```text\n.github\n  └─ workflows\n        └─ CI to check the monorepo: format, lint, and typecheck\napps\n  ├─ web\n  |   ├─ Next.js 15\n  |   ├─ React 19\n  |   ├─ Tailwind CSS\n  |   └─ E2E Typesafe API Server \u0026 Client\n  └─ dashboard\n      ├─ React Router 7\n      ├─ React 19\n      ├─ Tailwind CSS\n      └─ E2E Typesafe Client\npackages\n  ├─ api\n  |   └─ tRPC v11 router definition\n  ├─ auth\n  |   └─ Authentication from scratch using arctic for OAuth.\n  ├─ db\n  |   └─ Typesafe db calls using Prisma \u0026 Neon\n  |       └─ Seed data using Python and Faker\n  └─ ui\n      └─ Start of a UI package for the webapp using shadcn-ui\ntooling\n  ├─ eslint\n  |   └─ shared, fine-grained, eslint presets\n  ├─ prettier\n  |   └─ shared prettier configuration\n  └─ typescript\n      └─ shared tsconfig you can extend from\n```\n\n\u003e In this template, we use `@yuki` as a placeholder for package names. As a user, you might want to replace it with your own organization or project name. You can use find-and-replace to change all the instances of `@yuki` to something like `@my-company` or `@project-name`.\n\n## Quick Start\n\n\u003e **Note**\n\u003e The [db](./packages/db) package is preconfigured to use Neon and is **edge-bound**. If you're using something else, make the necessary modifications to the [schema](./packages/db/prisma/schema.prisma) as well as the [client](./packages/db/src/index.ts). If you want to switch to non-edge database driver, remove `export const runtime = \"edge\";` [from all pages and api routes](https://github.com/t3-oss/create-t3-turbo/issues/634#issuecomment-1730240214).\n\nTo get it running, follow the steps below:\n\n### 1. Setup dependencies\n\n```bash\n# Install dependencies\nbun i\n\n# Configure environment variables\n# There is an `.env.example` in the root directory you can use for reference\ncp .env.example .env\n\n# Push the Drizzle schema to the database\nbun db:push\n```\n\n### 2a. When it's time to add a new UI component\n\nRun the `ui-add` script to add a new UI component using the interactive `shadcn/ui` CLI:\n\n```bash\nbun ui-add\n```\n\nWhen the component(s) has been installed, you should be good to go and start using it in your app.\n\n### 2b. When it's time to add a new package\n\nTo add a new package, simply run `bun turbo gen init` in the monorepo root. This will prompt you for a package name as well as if you want to install any dependencies to the new package (of course you can also do this yourself later).\n\nThe generator sets up the `package.json`, `tsconfig.json` and a `index.ts`, as well as configures all the necessary configurations for tooling around your package such as formatting, linting and typechecking. When the package is created, you're ready to go build out the package.\n\n### 2c. When it's time to update the dependencies\n\nTo update the dependencies, run the following command:\n\n```bash\nbun bump-deps\n```\n\nThis will update all the dependencies in the monorepos to the latest version.\n\n## Deployment\n\n### Next.js\n\n#### Prerequisites\n\n\u003e **Note**\n\u003e Please note that the Next.js application with tRPC must be deployed in order for the Expo app to communicate with the server in a production environment.\n\n#### Deploy to Vercel\n\nLet's deploy the Next.js application to [Vercel](https://vercel.com). If you've never deployed a Turborepo app there, don't worry, the steps are quite straightforward. You can also read the [official Turborepo guide](https://vercel.com/docs/concepts/monorepos/turborepo) on deploying to Vercel.\n\n1. Create a new project on Vercel, select the `apps/nextjs` folder as the root directory. Vercel's zero-config system should handle all configurations for you.\n\n2. Add your `DATABASE_URL` environment variable.\n\n3. Done! Your app should successfully deploy. Assign your domain and use that instead of `localhost` for the `url` in the Expo app so that your Expo app can communicate with your backend when you are not in development.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.\n\n![Yuki](./.github/yuki.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiesen243%2Fyuki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiesen243%2Fyuki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiesen243%2Fyuki/lists"}