Skip to content
View goabego's full-sized avatar

Block or report goabego

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 250 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
goabego/README.md

React + Vite + Tailwind CSS + Shadcn/UI Template

This is a template for building React applications with Vite, Tailwind CSS, and Shadcn/UI. It provides a solid starting point for your future projects, with a clean and scalable folder structure, a theme provider for light and dark modes, a sample test, and a few sample components to get you started.

Tech Stack

  • React: A JavaScript library for building user interfaces.
  • Vite: A fast build tool and development server for modern web projects.
  • Tailwind CSS: A utility-first CSS framework for rapid UI development.
  • Shadcn/UI: A collection of beautifully designed, accessible, and customizable components for React.
  • Vitest: A blazing fast unit test framework powered by Vite.
  • React Testing Library: A simple and complete testing utility for React.

Getting Started

Prerequisites

  • Node.js (v18 or higher)
  • npm, yarn, or pnpm

Installation

  1. Use this repository as a template for your new project.

  2. Install the dependencies:

    npm install

Development

To start the development server, run the following command:

npm run dev

This will start the development server at http://localhost:5173.

Build

To build the project for production, run the following command:

npm run build

This will create a dist folder with the production-ready files.

Testing

To run the tests, run the following command:

npm test

Folder Structure

The folder structure is organized as follows:

/
├── public/
│   └── vite.svg
├── src/
│   ├── assets/
│   ├── components/
│   │   ├── ui/
│   │   └── theme/
│   ├── lib/
│   │   └── utils.ts
│   ├── pages/
│   │   ├── __tests__/
│   │   │   └── HomePage.test.tsx
│   │   └── HomePage.tsx
│   ├── test/
│   │   └── setup.ts
│   ├── App.tsx
│   ├── index.css
│   └── main.tsx
├── .gitignore
├── index.html
├── package.json
├── tailwind.config.js
├── tsconfig.json
├── vite.config.ts
└── vitest.config.ts
  • src/assets: Static assets such as images, fonts, etc.
  • src/components/ui: Shadcn/UI components.
  • src/components/theme: Theme-related components, such as the theme provider and theme toggle button.
  • src/lib: Utility functions.
  • src/pages: Page components and their tests.
  • src/test: Test setup and configuration.

Learn More

To learn more about the technologies used in this template, check out the following resources:

Pinned Loading

  1. ep2-ai-agent-bake-off ep2-ai-agent-bake-off Public

    Episode 2 Repo for AI Agent Bake Off

    Python 2 1

  2. agent-starter-pack agent-starter-pack Public

    Forked from GoogleCloudPlatform/agent-starter-pack

    A collection of production-ready Generative AI Agent templates built for Google Cloud. It accelerates development by providing a holistic, production-ready solution, addressing common challenges (D…

    Python

  3. ai-bake-off-fashnary ai-bake-off-fashnary Public

    ai-bake-off-fashnary-2025

    Python 1

  4. ai-gtm-playbook ai-gtm-playbook Public

    The AI Founder's Go-to-Market Playbook: A curated guide to the 25 essential GTM channels for AI startups. Inspired by the Traction framework, this playbook is adapted for the unique speed and chall…

    9 1