This project is a React application built using Vite with TypeScript and Tailwind CSS. It is organized into reusable components, hooks, and utility functions for scalability.
- ⚡ Vite for fast development
- ⚛️ React 18 for building dynamic UIs
- 🛠️ TypeScript for type-safe development
- 💨 Tailwind CSS for rapid and modern styling
- ♻️ Modular project structure with:
- Reusable components
- Custom hooks
- Organized services and utilities
Ensure the following tools are installed:
git clone https://github.com/Guild-Tech/GitEth.git
cd Guild-Tech
cd Frontend-team
Using npm:
npm install
Or using yarn:
yarn
npm run dev
Or:
yarn dev
Visit http://localhost:5173/ to preview the app.
To create an optimized production build:
npm run build
Or:
yarn build
The build output is in the dist
folder.
npm run preview
Or:
yarn preview
src/
│
├── assets/
│ ├── fonts/ # Custom fonts
│ ├── icons/ # SVG or other icon files
│ ├── images/ # Static images
│ └── react.svg # Any standalone assets
│
├── components/ # Reusable UI components
│ ├── Common/ # Shared, generic components (e.g., buttons, modals, forms)
│ ├── Layout/ # Layout components (e.g., Header, Footer, Sidebar)
│ └── Specific/ # Components tightly coupled to certain features/pages
│
├── hooks/ # Custom React hooks
│
├── lib/ # Utility libraries and helpers (e.g., API clients, configs)
│
├── pages/ # Page-specific components and logic
│ ├── contributors/ # Related components and files
│ ├── dashboard/
│ ├── exploreProject/
│ ├── landingPage/
│ ├── mainApp/
│ ├── onBoarding/
│ ├── profile/
│ └── projectOverview/
│
├── services/ # External services (e.g., Firebase, API calls)
│ ├── firebase.ts # Firebase configuration and API methods
│ └── index.ts # Export aggregated services
│
├── store/ # State management (e.g., Redux, Context)
│ ├── actions/ # Redux action creators
│ ├── reducers/ # Redux reducers
│ ├── types/ # Redux-related TypeScript types
│ └── index.ts # Combine store logic and export
│
├── styles/ # Global and modular styles
│ ├── App.css # General app-wide CSS
│ ├── Fonts.css # Custom font styles
│ └── index.css # Base styles and global resets
│
├── utils/ # General utilities and helpers
│ ├── DomainData.json
│ ├── DummyData.ts
│ └── index.ts # Entry point for exporting utilities
│
├── App.tsx # Root component
└── index.tsx # React entry point
Command | Description |
---|---|
npm run dev |
Start the development server |
npm run build |
Build the app for production |
npm run preview |
Preview the production build |
npm run lint |
Lint the code (if ESLint is configured) |
npm run build |
Build the app for production |
This project uses Tailwind CSS for styling. You can customize it via tailwind.config.js
and postcss.config.js
.
The project is written in TypeScript, offering enhanced development experience and type safety.
Contributions are welcome! Please follow these steps:
- Fork this repository.
- Create a new branch (
git checkout -b feature/your-feature-name
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/your-feature-name
). - Create a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.