A modern web platform for tracking Sjoelen games and statistics. Built with Next.js, TypeScript, and Firebase.
- 🎯 Track individual Sjoelen games with raw puck counts
- 📊 View personal statistics and performance over time
- 👥 Create games with 2-5 players
- 📱 Mobile-first, responsive design
- 🔒 Secure authentication with Firebase
- Frontend: Next.js 14, React 18, TypeScript
- Styling: Tailwind CSS, shadcn/ui
- State Management: TanStack Query
- Backend: Firebase (Auth, Firestore)
- Deployment: Vercel
- Node.js 18.17 or later
- Yarn package manager
- Firebase project with Auth and Firestore enabled
-
Clone the repository:
git clone https://github.com/yourusername/sjoelify-v2.git cd sjoelify-v2 -
Install dependencies:
yarn install
-
Create a
.env.localfile with your Firebase configuration:NEXT_PUBLIC_FIREBASE_API_KEY=your_api_key NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_auth_domain NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_storage_bucket NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_messaging_sender_id NEXT_PUBLIC_FIREBASE_APP_ID=your_app_id -
Start the development server:
yarn dev
-
Open http://localhost:3000 in your browser.
yarn dev- Start development serveryarn build- Build production bundleyarn start- Start production serveryarn lint- Run ESLintyarn type-check- Run TypeScript type checking
- ESLint with Airbnb TypeScript configuration
- Prettier for code formatting
- Strict TypeScript mode enabled

