This project is built with React, Vite, and TailwindCSS to deliver a fast and responsive web application with a streamlined development experience.
π 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.
- 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/reports-mini-app.git
cd reports-mini-app
2οΈβ£ Install dependencies:
npm install
# or
yarn install
To start the development server with HMR:
npm run dev
# or
yarn dev
The app will be available at http://localhost:5173 by default.
To create a production build of your app:
npm run build
# or
yarn build
The production-ready files will be in the dist/
directory.
To preview the production build locally:
npm run preview
# or
yarn preview
To lint your files:
npm run lint
# or
yarn lint
VITE_API_BASE_URL=YOUR_APPS_SCRIPT_URL
VITE_SECRET_KEY=YOUR_SECRET_KEY
βββ public/ # Public assets (favicon, etc.)
βββ src/ # Source files
β βββ assets/ # Static assets (images, icons, etc.)
β βββ components/ # Reusable React components
β βββ pages/ # Page components
β βββ layouts/ # Layout components
β βββ 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 dependencies
TailwindCSS 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: "#A6B9FF",
// ... 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.
- PostCSS: CSS tool for transforming styles with plugins like TailwindCSS.
- ESLint: A tool for identifying and fixing problems in JavaScript code.
If you have any questions or feedback, feel free to reach out:
π§ Email: pubgn9642@gmail.com
π Website: yaxyobekk.uz