ā Back to Documentation
Getting Started
Learn how to set up your development environment and start building with VibeCoding.ad
Prerequisites
Before you begin, make sure you have the following installed on your system:
- Node.js (version 18.17 or later)
- npm or yarn package manager
- Git for version control
- A code editor (VS Code recommended)
Installation
1. Clone the Repository
git clone https://github.com/VibeCodingStarter/vibe-coding.git
cd vibe-coding
2. Install Dependencies
npm install
# or
yarn install
3. Set Up Environment Variables
Create a .env.local
file in the root directory:
# Supabase Configuration
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key
# Optional: Analytics
NEXT_PUBLIC_VERCEL_ANALYTICS_ID=your_analytics_id
4. Run the Development Server
npm run dev
# or
yarn dev
Open http://localhost:3000 in your browser to see the application.
Project Structure
Here's an overview of the key directories and files:
vibe-coding/
āāā app/ # Next.js App Router
ā āāā components/ # React components
ā āāā actions/ # Server actions
ā āāā hooks/ # Custom React hooks
ā āāā globals.css # Global styles
āāā database/ # Database migrations
āāā types/ # TypeScript type definitions
āāā utils/ # Utility functions
ā āāā supabase/ # Supabase configuration
āāā public/ # Static assets
āāā package.json # Dependencies and scripts
Customization
Update Metadata
Edit app/layout.tsx
to update your site's metadata:
- Title and description
- Favicon and icons
- Open Graph meta tags
Customize Styles
The project uses Tailwind CSS for styling. You can:
- Modify
app/globals.css
for global styles - Update
tailwind.config.js
for theme customization - Edit component files for specific styling
Replace Icons
Replace the default icons in the public/
directory:
favicon.ico
- Browser faviconicon.svg
- Main iconapple-icon.svg
- Apple touch icon