Grow is an application that helps users discover and refine their personal mission statements through AI-guided conversations. The app dynamically creates and updates a structured document as users engage in reflective dialogue.
- AI-Guided Conversations: Chat with an AI assistant to explore your values, goals, and purpose
- Dynamic Document Creation: Your personal mission statement evolves as you chat
- Mobile-Optimized Design: Access your mission statement from any device
- Secure User Authentication: Keep your personal reflections private
- Frontend: Nuxt 3, Vue 3, TypeScript
- UI Components: Nuxt UI with TailwindCSS
- Editor: TipTap for Markdown editing and display
- Auth: Nuxt Auth Module with JWT
- AI Integration: Claude API for intelligent conversations
- Node.js 18+ and npm
- Claude API key (for AI functionality)
- Clone the repository
git clone https://github.com/yourusername/grow.git
cd grow- Install dependencies
npm install- Set up environment variables
Create a
.envfile with:
ANTHROPIC_API_KEY=your_claude_api_key
AUTH_SECRET=your_auth_secret
- Start the development server
npm run dev- Create an account or sign in
- Navigate to the Chat tab to start a conversation
- Explore suggested conversation starters or ask your own questions
- View your evolving mission statement in the Document tab
- Edit any section manually if needed
This application is configured to deploy to Cloudflare Pages with D1 database integration.
- A Cloudflare account
- Wrangler CLI installed:
npm install -g wrangler - D1 database already created
-
Set up the database schema:
wrangler d1 execute selfdiscovery --file=schema.sql
-
Build and deploy:
npm run build npx wrangler pages deploy .output/public --project-name=selfdiscovery
-
Configure environment variables in the Cloudflare Pages dashboard:
ANTHROPIC_API_KEY: Your Anthropic API keyNEXTAUTH_SECRET: A random string for session encryptionNEXTAUTH_URL: https://selfdiscovery.pages.dev
-
Bind the D1 database to your Cloudflare Pages deployment:
# Replace DEPLOYMENT_ID with your actual deployment ID from the Pages dashboard npx wrangler pages deployment environment-variable set DEPLOYMENT_ID DB d1:selfdiscovery
Run the Cloudflare Pages development server:
npm run build
npm run dev:cfMIT
- Anthropic for Claude AI
- Nuxt team for the fantastic framework
- Cloudflare for Pages and D1 database