Go to file
2024-06-22 14:45:28 +03:00
.vscode first_push 2024-06-10 11:01:05 +03:00
public remove log 2024-06-22 12:18:00 +03:00
src single products swiper 2024-06-22 14:45:28 +03:00
.env first_push 2024-06-10 11:01:05 +03:00
.eslintrc.js first_push 2024-06-10 11:01:05 +03:00
.eslintrc.json first_push 2024-06-10 11:01:05 +03:00
.gitignore first_push 2024-06-10 11:01:05 +03:00
db.json first_push 2024-06-10 11:01:05 +03:00
eslint.config.mjs first_push 2024-06-10 11:01:05 +03:00
index.html change color 2024-06-15 13:33:55 +03:00
package.json change color 2024-06-15 13:33:55 +03:00
README.md first commit 2024-06-10 11:00:52 +03:00
tsconfig.json first_push 2024-06-10 11:01:05 +03:00
vite.config.js first_push 2024-06-10 11:01:05 +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