{"id":15147276,"url":"https://github.com/youngermaster/t3-stack-shadcn-ui","last_synced_at":"2026-02-12T03:11:38.453Z","repository":{"id":235675615,"uuid":"791070307","full_name":"Youngermaster/T3-Stack-Shadcn-UI","owner":"Youngermaster","description":"This project is built on the T3 Stack and is bootstrapped with create-t3-app and adding Shadcn-UI with Drizzle ORM","archived":false,"fork":false,"pushed_at":"2024-05-06T14:38:49.000Z","size":1041,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T03:15:31.415Z","etag":null,"topics":["shadcn-ui","t3-shadcn","t3-stack","t3-stack-template"],"latest_commit_sha":null,"homepage":"https://t3-stack-shadcn-ui.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Youngermaster.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}},"created_at":"2024-04-24T03:25:55.000Z","updated_at":"2024-09-11T07:19:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"92b62449-df00-442f-b6bf-19953262c66a","html_url":"https://github.com/Youngermaster/T3-Stack-Shadcn-UI","commit_stats":null,"previous_names":["youngermaster/t3-stack-shadcn-ui"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Youngermaster%2FT3-Stack-Shadcn-UI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Youngermaster%2FT3-Stack-Shadcn-UI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Youngermaster%2FT3-Stack-Shadcn-UI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Youngermaster%2FT3-Stack-Shadcn-UI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Youngermaster","download_url":"https://codeload.github.com/Youngermaster/T3-Stack-Shadcn-UI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248008615,"owners_count":21032554,"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":["shadcn-ui","t3-shadcn","t3-stack","t3-stack-template"],"created_at":"2024-09-26T12:40:21.612Z","updated_at":"2026-02-12T03:11:38.425Z","avatar_url":"https://github.com/Youngermaster.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# T3 Stack - Shadcn UI\n\n[![Quality Gate Status](http://146.190.150.93:9000/api/project_badges/measure?project=game-connect\u0026metric=alert_status\u0026token=sqb_444d47b12078e0727034ab6fab9967281f31939f)](http://146.190.150.93:9000/dashboard?id=game-connect)\n\nThis project is built on the [T3 Stack](https://create.t3.gg/) and is bootstrapped with `create-t3-app`. It integrates multiple cutting-edge technologies including Drizzle ORM for database interactions, Next.js for server-side rendering, NextAuth for authentication, and much more. This setup is designed to be scalable and efficient, making it suitable for both development and production environments.\n\n## Technologies Used\n\n- **[Next.js](https://nextjs.org)** - The React framework for production.\n- **[NextAuth.js](https://next-auth.js.org)** - For secure authentication.\n- **[Drizzle ORM](https://orm.drizzle.team)** - An ORM for managing database entities.\n- **[Tailwind CSS](https://tailwindcss.com)** - For utility-first CSS.\n- **[tRPC](https://trpc.io)** - End-to-end typesafe APIs made easy.\n- **[Ansible](https://www.ansible.com/)** - For automating deployment and configuration.\n- **[SonarQube](https://www.sonarqube.org/)** - For continuous inspection of code quality.\n- **[PostgreSQL](https://www.postgresql.org/)** - As the underlying database system.\n\n## Local Development Setup\n\n1. **Clone the repository:**\n\n   ```bash\n   git clone https://github.com/Youngermaster/T3-Stack-Shadcn-UI.git\n   cd T3-Stack-Shadcn-UI\n   ```\n\n2. **Install dependencies:**\n\n   ```bash\n   pnpm install\n   ```\n\n3. **Setup the environment:**\n   Copy the `.env.example` file to `.env` and update the environment variables to match your setup:\n\n   ```bash\n   cp .env.example .env\n   ```\n\n4. **Start the local development database:**\n\n   ```bash\n   ./start-database.sh\n   ```\n\n5. **Run the development server:**\n\n   ```bash\n   pnpm dev\n   ```\n\n   Visit `http://localhost:3000` to view the application.\n\n## Database Management\n\n- **Migrate and push changes to the database:**\n\n  ```bash\n  pnpm db:push\n  ```\n\n- **Open Drizzle Studio to manage the database interactively:**\n\n  ```bash\n  pnpm db:studio\n  ```\n\n### Environment Configuration and Authentication Setup\n\nBefore starting your development server or deploying the application, ensure that your environment variables are set up correctly. The `.env` file holds crucial configurations that influence the behavior of your application, including database connections and authentication mechanisms.\n\n1. **Set Up Environment Variables:**\n\n   - Copy the `.env.example` file to a new file named `.env` in the root directory:\n\n     ```bash\n     cp .env.example .env\n     ```\n\n   - Modify the `.env` file to include your specific settings. This file should never be committed to your version control system as it contains sensitive information.\n\n2. **Configure Discord Authentication:**\n\n   - You will need to set up a Discord application to use Discord as an authentication provider. Visit the [Discord Developer Portal](https://discord.com/developers/applications), create a new application, and configure OAuth2.\n   - Add the following URLs to your OAuth2 redirect URIs in the Discord Developer Portal:\n\n     ```plaintext\n     http://localhost:3000/api/auth/callback/discord\n     ```\n\n     Replace `localhost:3000` with your production domain if deploying to a live server.\n   - Obtain the `Client ID` and `Client Secret` from your Discord application and set them in your `.env` file:\n\n     ```ts\n     DISCORD_CLIENT_ID=your_client_id_here\n     DISCORD_CLIENT_SECRET=your_client_secret_here\n     ```\n\n3. **Verify Authentication Configuration:**\n   - Ensure `NEXTAUTH_URL` is set to the base URL of your site. For local development, this will typically be:\n\n     ```python\n     NEXTAUTH_URL=http://localhost:3000\n     ```\n\nFor detailed instructions on setting up your project and additional configurations, refer to the [T3 documentation](https://create.t3.gg/en/usage/first-steps). This documentation provides a comprehensive guide on first steps, including further customization and enhancement of your application.\n\n## Code Quality with SonarQube\n\nRun SonarQube analysis to ensure high code quality:\n\n```bash\n./sonar_scanner.sh\n```\n\nEnsure SonarQube is running locally or adjust `SONARQUBE_URL` in your `.env` to point to your SonarQube server.\n\n## Deployment\n\nThe application can be deployed using Docker. See the `docker-compose.yml` file for Docker configuration details. Use the following command to build and run the Docker environment:\n\n```bash\ndocker-compose up --build\n```\n\n## Contributing\n\nContributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## License\n\nDistributed under the Apache License. See `LICENSE` for more information.\n\n## Need Help?\n\nIf you have any questions or need help, please open an issue.\n\n---\n\nThank you for choosing this T3 Stack implementation for your next project!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoungermaster%2Ft3-stack-shadcn-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoungermaster%2Ft3-stack-shadcn-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoungermaster%2Ft3-stack-shadcn-ui/lists"}