Quick Start
Get up and running with Create Vinoflare in minutes.
Prerequisites
Before you begin, make sure you have:
- Node.js 18+ installed
- A Cloudflare account (free tier works great)
- Git installed (optional, but recommended)
Create Your First Project
The fastest way to get started is using the interactive CLI:
You'll be prompted to:
- Enter your project name
- Choose project type (full-stack or API-only)
- Select features (authentication, database)
- Pick a package manager (npm, yarn, pnpm, or bun)
- Initialize git (recommended)
Non-Interactive Mode
If you know exactly what you want, use command-line flags:
Available Options
--type=<type>
- Project type:full-stack
(default) orapi-only
--no-auth
- Skip authentication setup--no-db
- Skip database setup--no-git
- Skip git initialization--no-install
- Skip dependency installation--pm=<pm>
- Package manager:npm
,yarn
,pnpm
, orbun
-y, --yes
- Accept all defaults
Project Setup
After creation, navigate to your project:
Install Dependencies
If you skipped installation:
Environment Setup
For projects with authentication:
-
Copy the example environment file:
-
Add your Discord OAuth credentials:
-
Generate a secure auth secret:
Database Setup
For projects with a database:
Frontend Setup
For full-stack projects:
Start Development
Run the development server:
Your app will be available at:
- Frontend: http://localhost:5173
- API: http://localhost:8787
- API Docs: http://localhost:8787/docs
What's Next?
- Explore the project structure
- Learn about local development
- Check out the CLI options
- Deploy to Cloudflare Workers
Getting Help
- Documentation: Read through our comprehensive docs
- GitHub Issues: Report bugs or request features
- Discord: Join our community for real-time help
Happy building! 🚀