An AI-powered narrative creation platform designed for crafting complex, non-linear stories for film, TV, and video games.
- Visual Story Mapping: Node-based editor for creating branching narratives
- AI-Assisted Content Generation: Generate story continuations, character profiles, and narrative elements
- World-Building Tools: Character creation, environment design, and prop management
- Community Gallery: Share and discover creative content
- Dimensions Marketplace: Collaborative narrative projects
- Gamification System: Credits, quests, and achievement badges
-
Clone the repository
git clone https://github.com/EcosystemNetwork/WeavingDreams.git cd WeavingDreams -
Install dependencies
npm install
-
Set up environment variables
cp .env.example .env.local # Edit .env.local with your configuration -
Run database migrations
npm run db:push
-
Start development server
npm run dev
The application will be available at
http://localhost:5000
npm run build
npm run startThis application is optimized for deployment on Vercel. See VERCEL_DEPLOYMENT.md for detailed deployment instructions.
Quick Deploy:
- Connect your GitHub repository to Vercel
- Set environment variables in Vercel dashboard
- Deploy automatically on push to main branch
Encountering deployment issues? Check our comprehensive troubleshooting guide:
- TROUBLESHOOTING.md - Detailed solutions for common issues:
- DNS configuration problems
- Download instead of render issues
- Cache and build artifact issues
- Browser-specific problems
- v0.dev export workflows
- DNS Verification:
./script/verify-dns.sh yourdomain.com - Clear Caches:
./script/clear-vercel-cache.sh - See script/README.md for all available utilities
- React 19 with TypeScript
- Vite for build tooling
- Wouter for client-side routing
- React Query for state management
- Shadcn UI components with Radix UI
- Tailwind CSS for styling
- ReactFlow for visual node editor
- Node.js with Express.js
- TypeScript with ES Modules
- PostgreSQL with Drizzle ORM
- Neon serverless database
- Google Gemini API for AI features
- Character profile generation
- Image generation
- Story continuation
WeavingDreams/
├── client/ # React frontend application
│ ├── public/ # Static assets
│ └── src/ # Source code
├── server/ # Express backend
├── shared/ # Shared types and utilities
├── api/ # Vercel serverless functions
├── script/ # Build and utility scripts
├── attached_assets/ # Project assets
├── vercel.json # Vercel configuration
├── VERCEL_DEPLOYMENT.md # Deployment guide
├── TROUBLESHOOTING.md # Troubleshooting guide
└── package.json # Dependencies and scripts
vercel.json- Vercel deployment configurationvite.config.ts- Vite build configurationdrizzle.config.ts- Database configurationtsconfig.json- TypeScript configuration.vercelignore- Files excluded from deployment
DATABASE_URL- PostgreSQL connection string
NODE_ENV- Environment (development/production)PORT- Server port (auto-set by Vercel)
See VERCEL_DEPLOYMENT.md for complete environment variable documentation.
npm run dev- Start development servernpm run build- Build for productionnpm run start- Run production buildnpm run check- Type check with TypeScriptnpm run db:push- Push database schema changes
- TypeScript with strict mode
- ES Modules
- Path aliases for clean imports
- Consistent component structure
This is typically caused by incorrect Content-Type headers or DNS configuration.
Solutions:
- Run
./script/verify-dns.sh yourdomain.com - Check TROUBLESHOOTING.md DNS section
- Clear Vercel cache:
./script/clear-vercel-cache.sh
Solutions:
- Ensure
DATABASE_URLis set - Clear cache:
rm -rf node_modules package-lock.json && npm install - Verify Node.js version:
node --version(requires v20+)
Solutions:
- Verify DNS records match Vercel requirements
- Wait for DNS propagation (up to 48 hours)
- Clear local DNS cache
- See TROUBLESHOOTING.md for detailed steps
Solutions:
- Always export code after changes
- Push to GitHub repository
- Let Vercel deploy from GitHub
- See TROUBLESHOOTING.md v0.dev section
- VERCEL_DEPLOYMENT.md - Complete deployment guide
- TROUBLESHOOTING.md - Comprehensive troubleshooting
- script/README.md - Utility scripts documentation
- replit.md - Detailed system architecture
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
- Issues: GitHub Issues
- Documentation: See docs in this repository
- Vercel Support: vercel.com/support
MIT License - See LICENSE file for details
Need Help? Start with TROUBLESHOOTING.md for solutions to common issues.