This project is built with React, Vite, and TailwindCSS to deliver a fast and responsive web application with a streamlined development experience. It includes Firebase integration for authentication, database, and hosting, as well as multi-language support for better accessibility.
π View Live
- Vite: A fast development build tool with Hot Module Replacement (HMR).
- React: A JavaScript library for building dynamic user interfaces.
- TailwindCSS: A utility-first CSS framework that provides pre-configured styling for rapid UI development.
- Firebase Integration: Authentication, Firestore database, and hosting services.
- Multi-language Support: Allows users to switch between different languages dynamically.
- Hot Module Replacement (HMR): Enables instant updates without full page reload during development.
- ESLint: Configured for linting JavaScript/JSX files for code quality.
- Node.js (version 14.x or higher)
- npm (version 6.x or higher) or Yarn (optional)
1οΈβ£ Clone the repository:
git clone https://github.com/yaxyobekuz/portfolio.git
cd portfolio2οΈβ£ Install dependencies:
npm install
# or
yarn installTo start the development server with HMR:
npm run dev
# or
yarn devThe app will be available at http://localhost:5173 by default.
To create a production build of your app:
npm run build
# or
yarn buildThe production-ready files will be in the dist/ directory.
To preview the production build locally:
npm run preview
# or
yarn previewTo lint your files:
npm run lint
# or
yarn lintEnsure you have a .env file in the root directory with the following Firebase credentials:
VITE_API_KEY=your_api_key
VITE_AUTH_DOMAIN=your_project_id.firebaseapp.com
VITE_PROJECT_ID=your_project_id
VITE_STORAGE_BUCKET=your_project_id.appspot.com
VITE_MESSAGING_SENDER_ID=your_sender_id
VITE_APP_ID=your_app_id
VITE_MEASUREMENT_ID=your_measurement_idβββ public/ # Public assets (favicon, etc.)
βββ src/ # Source files
β βββ assets/ # Static assets (images, icons, etc.)
β βββ components/ # Reusable React components
β βββ pages/ # Page components
β βββ layouts/ # Layout components
β βββ i18n/ # Language translation files
β βββ firebase/ # Firebase configuration and services
β βββ index.css # Tailwind CSS configuration and global styles
β βββ App.jsx # Main app component
β βββ main.jsx # Entry point for the app
β βββ ... # Others...
βββ postcss.config.js # PostCSS configuration
βββ tailwind.config.js # TailwindCSS configuration
βββ vite.config.js # Vite configuration
βββ index.html # Main HTML file
βββ package.json # Project metadata and dependenciesTailwindCSS is already configured, but you can modify the tailwind.config.js file to extend or customize the theme, such as adding new colors, fonts, or spacing values.
Example:
module.exports = {
theme: {
extend: {
colors: {
primary: "#39965F",
// ... More colors
},
},
},
};dev: Starts the development server with HMR.build: Builds the application for production.preview: Previews the production build.lint: Lints your code with ESLint.
- React: A JavaScript library for building user interfaces.
- Vite: A modern front-end build tool for blazing-fast development.
- TailwindCSS: Utility-first CSS for styling and layout.
- Firebase: Backend services including authentication, database, and hosting.
- PostCSS: CSS tool for transforming styles with plugins like TailwindCSS.
- ESLint: A tool for identifying and fixing problems in JavaScript code.
- Vite Documentation
- React Documentation
- TailwindCSS Documentation
- Firebase Documentation
- ESLint Documentation
If you have any questions or feedback, feel free to reach out:
π§ Email: info@yaxyobekk.uz
π Website: yaxyobekk.uz
