Skip to content

maheshj01/react-apps

Repository files navigation

React-Apps

This repo contains basic react apps for beginners. To create a new react app, you can use the create-react-app.sh script which will help you setup a new React Project

This script does the following

  • Creates a new react app with the name you provide
  • Sets up Typescript, TailwindCSS, ShadCN UI, and the following folder structure
- app
    - src
        - assets/
            - fonts/
            - images/
        - components/
            - ui/
                - Button.tsx
        - context/
        - hooks/
        - routes/
        - redux/
            - actions/
            - reducers/
        - store.ts
        - App.tsx
        - index.tsx
        - index.css
        - utils.ts
    - tsconfig.json
    - tailwind.config.js
    - package.json
    - postcss.config.js
    - README.md

Usage

To create a new react app, run the following command

bash create-react-app.sh <app-name>