Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

1.3 KB
Raw Blame

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:41921.

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.