Go to file
2024-07-07 11:17:20 +03:00
.vscode done 2024-06-10 11:55:58 +03:00
public fix conflicts and check on website 2024-07-07 11:17:20 +03:00
src fix conflicts and check on website 2024-07-07 11:17:20 +03:00
.env done 2024-06-10 11:55:58 +03:00
.eslintrc.js done 2024-06-10 11:55:58 +03:00
.eslintrc.json done 2024-06-10 11:55:58 +03:00
.gitignore done 2024-06-10 11:55:58 +03:00
db.json done 2024-06-10 11:55:58 +03:00
eslint.config.mjs done 2024-06-10 11:55:58 +03:00
index.html fix conflicts and check on website 2024-07-07 11:17:20 +03:00
package.json done 2024-06-10 11:55:58 +03:00
README.md done 2024-06-10 11:55:58 +03:00
tsconfig.json done 2024-06-10 11:55:58 +03:00
vite.config.js done 2024-06-10 11:55:58 +03:00

Directory Descriptions:

  • public/: Contains static assets like HTML files and images.

  • src/: The main source code directory.

    • assets/: Static assets like images, fonts, etc.
    • components/: Reusable UI components.
    • types/: TypeScript type definitions.
    • enums/: Enumerations or constants.
    • pages/: Components representing different pages.
    • hooks/: Custom React hooks.
    • lib/: Utility functions or helper modules.
    • Redux/: Redux-related code (actions, reducers, etc.) if used.
    • styles/: Global styles or shared styles.
    • translate/: Files related to localization and translation.
    • layout/: Components or files related to the overall layout structure.
      • Layout.js: Example layout component.
    • Routes.tsx: File for defining your application routes.
    • App.js: The main component and entry point.
    • index.js: Entry point for rendering the React app.
  • .gitignore: Specifies files or directories to be ignored by version control.

  • package.json: Metadata about the project, dependencies, and scripts.

Getting Started

Prerequisites

  • Node.js and npm installed
  • v20.10.0

Installation

  1. Clone the repository:

    git clone https://github.com/KarimAldeen/Start-React-ts.git
    
    cd Start-React-ts
    
  2. Install dependencies:

    pnpm i
    

Usage

Start the development server:


pnpm start

ecommerce_dm