A Next.js 15+ application for managing airsoft events, clubs, and player profiles with view tracking capabilities.
- Framework: Next.js 15+ (App Router)
- Styling: Tailwind CSS + shadcn/ui
- Database: Prisma ORM + PostgreSQL
- Authentication: better-auth
- Package Manager: Bun
- Form Handling: react-hook-form + zod
- State Management:
- Server Actions with next-safe-action
- URL State with nuqs
-
Clone the repository
-
Install dependencies
bun install
- Set the environment variables
cp .env.example .env
- Set up the database
bun prisma db pull # or push if it's a new database
- Run the development server
bun dev
- User authentication
- Club management
- Event management
- Player profiles
- View statistics tracking
- Responsive design
- Type-safe server actions
- i18n support
- Follow TypeScript best practices
- Use React Server Components by default
- Use client components only when necessary
- Group related components in
_components
folders (see below) - Format code using Biome
- See CONTRIBUTING.md
This software is available under two licenses:
- Non-Commercial/Non-Profit Use: MIT License
- Commercial Use: Please contact the author for commercial licensing options.
The full terms of each license can be found in the corresponding LICENSE files.