Web app to collect and visualize your player statistics
- Node.js (v16 or newer recommended)
- npm (comes with Node.js)
-
Clone the repository
git clone https://github.com/yourusername/ballerStats.git cd ballerStats
-
Install dependencies
npm install
-
Start the development server
npm run dev
This will start the development server at http://localhost:5173 (or another port if 5173 is in use)
npm run dev
- Start development servernpm run build
- Build for productionnpm run serve
- Preview production buildnpm run check
- Run Biome to check codenpm run format
- Format code with Biomenpm run format-force
- Format code with Biome (unsafe mode)
ballerStats/
├── public/ # Static assets
├── src/
│ ├── components/ # Reusable UI components
│ ├── global/ # Global state and configurations
│ ├── libs/ # Utility functions and helpers
│ ├── pages/ # Page components
│ ├── index.css # Global CSS
│ └── index.tsx # Application entry point
├── index.html # HTML template
├── package.json # Dependencies and scripts
├── tsconfig.json # TypeScript configuration
└── vite.config.ts # Vite configuration
- Make changes to the codebase
- Format your code using
npm run format
- Check for linting issues with
npm run check
- Start the development server with
npm run dev
to preview changes - Build for production with
npm run build
when ready to deploy
- Use SolidJS functional components with TypeScript
- Follow the naming convention:
Bs
prefix for component names (e.g.,BsButton
) - Create separate
.d.ts
files for component props - Line width: 120 characters, indentation: 2 spaces
- Use single quotes for strings
- Separate presentational logic from business logic
-
SolidJS https://docs.solidjs.com/
-
Tailwindcss https://tailwindcss.com/
-
Lucide (icons) https://lucide.dev/
-
DaisyUI https://daisyui.com/
-
SVGrepo https://www.svgrepo.com/