Files
ServerKit/frontend/how_it_works.md
T
Juan Denis 97a111feb7 Initialize React dashboard project structure
Add initial project files for a modern React dashboard template using Vite. Includes documentation, configuration, and core frontend source files with sidebar layout, routing, and sample dashboard page.
2026-01-17 03:11:13 -05:00

1.3 KiB

How It Works

This project was bootstrapped with a modern React boilerplate using Vite.

📂 Project Structure

project_name/
├── index.html             # Entry HTML file
├── package.json           # Dependencies and scripts
├── vite.config.js         # Vite configuration
└── src/
    ├── App.jsx            # Main App component
    ├── main.jsx           # Entry point
    └── index.css          # Global styles

🚀 Getting Started

Installation

Install dependencies using npm:

npm install

Development

Start the development server:

npm run dev

The app will be available at http://localhost:5173.

Building for Production

Build the app for deployment:

npm run build

The output will be in the dist/ directory.

🛠 Features

  • Vite: Ultra-fast development server and bundler.
  • React: Modern UI library.
  • ESLint: Code linting.
  • Prettier: Code formatting.

🔄 Customization

Project Metadata

The project name and authors are automatically configured in package.json and generated files during initialization.

Environment Variables

Create a .env file in the root for environment variables:

VITE_API_URL=https://api.example.com

Access them in code via import.meta.env.VITE_API_URL.