A modern, mobile-first web application for calculating Alcohol By Volume (ABV) percentages for homebrewing and craft beverage production. Features an AI-powered name generator for your creations. View the preview of the app.
- ABV Calculator: Calculate alcohol content using Original Gravity (OG) and Final Gravity (FG)
- AI Name Generator: Generate creative names for your beverages using Google's Gemini AI
- Real-time Calculations: Instant ABV percentage updates as you input values
- Multiple Beverage Types: Support for beer, wine, cider, mead, and other beverages
- Framework: Next.js
- Language: TypeScript
- Styling: Tailwind CSS
- AI Integration: Google Gemini AI API
- Deployment: Vercel-ready
- Package Manager: npm
- Node.js 18+
- npm or yarn
- Google Gemini API key
-
Clone the repository
git clone <repository-url> cd apv-brewing
-
Install dependencies
npm install
-
Set up environment variables Create a
.env.localfile in the root directory:NEXT_PUBLIC_BASE_URL=http://localhost:3000 GEMINI_API_KEY=your_gemini_api_key_here
-
Get a Gemini API Key
- Visit Google AI Studio
- Sign in with your Google account
- Create a new API key
- Copy the key to your
.env.localfile
-
Run the development server
npm run dev
-
Open your browser Navigate to http://localhost:3000
npm run dev- Start development servernpm run build- Build for productionnpm run start- Start production servernpm run lint- Run ESLint
- Push your code to GitHub
- Connect your repository to Vercel
- Add environment variables in Vercel dashboard
- Deploy automatically
This project is licensed under the MIT License - see the LICENSE file for details.
Happy Brewing! 🍻