### Initialize and run the development environment Source: https://github.com/axissxs/prompt-forge/blob/master/README.md Install project dependencies and start the local development server. ```bash npm install npm run dev ``` -------------------------------- ### Project directory structure Source: https://github.com/axissxs/prompt-forge/blob/master/README.md Overview of the file organization for the PromptForge application. ```text api/ Serverless functions (auth, explore, share, sync, profile) db/schema.sql Postgres schema src/ components/ React components (builder steps, UI primitives, modals) constants/ Default form data, tech catalog, prompt templates context/ AuthContext (login state, token management) hooks/ useLocalStorage services/ Backend abstraction (remote API or localStorage adapter) utils/ Prompt builder, sanitization, validation, class name helpers App.tsx Main app shell, routing, session management types.ts TypeScript types ``` -------------------------------- ### Configure Environment Variables Source: https://github.com/axissxs/prompt-forge/blob/master/DEPLOYMENT.md Set required build-time and runtime environment variables to enable production backend features. ```bash # Frontend (build time) VITE_API_BASE=https://your-app.vercel.app/api VITE_RECAPTCHA_SITE_KEY=your_public_site_key # Serverless (runtime) DATABASE_URL=postgres://...neon.tech/... RECAPTCHA_SECRET_KEY=your_secret_key ``` -------------------------------- ### Apply Database Schema Source: https://github.com/axissxs/prompt-forge/blob/master/DEPLOYMENT.md Execute the SQL schema file against the NeonDB instance using the provided connection string. ```bash psql "$DATABASE_URL" -f db/schema.sql ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.