Community
Welcome to the Vafast community! We're an open, friendly developer community dedicated to building a high-performance TypeScript web framework.
Getting Help
Frequently Asked Questions (FAQ)
Before asking a question, please check our FAQ:
Q: Which runtimes does Vafast support? A: Vafast supports Node.js by default and is also compatible with Bun and any runtime that supports web standards.
Q: How do I migrate an existing Express/Fastify app? A: See our migration guide for detailed migration steps.
Q: Does it support TypeScript? A: Yes! Vafast is written entirely in TypeScript and provides full type safety.
Q: How does it perform? A: Vafast is carefully optimized and performs well on runtimes such as Node.js and Bun, handling high-concurrency workloads.
Guidelines for Asking Questions
When you need help, please follow these guidelines:
- Search existing issues - check whether a similar question already exists before asking
- Provide details - include error messages, code samples, environment info, etc.
- Use a clear title - describe the problem concisely
- Include a minimal reproduction - it helps pinpoint the problem quickly
Question Template
## Problem Description
[Briefly describe the problem you're running into]
## Environment
- Runtime: [Bun/Node.js/other]
- Version: [exact version]
- Operating system: [OS info]
## Code Sample
```typescript
// your codeError Message
[The full error stack trace]
Expected Behavior
[Describe what you expected to happen]
Actual Behavior
[Describe what actually happened]
## Join the Discussion
### Community Channels
#### GitHub Discussions
- **Main discussion platform**: [GitHub Discussions](https://github.com/vafast/vafast/discussions)
- **Feature requests**: share your ideas and suggestions
- **Usage discussions**: discuss best practices and solutions
- **Announcements**: get the latest updates and important notices
#### Discord Server
- **Real-time chat**: [Vafast Discord](https://discord.gg/vafast)
- **Technical discussion**: real-time technical Q&A
- **Showcase**: share your projects
- **Community events**: take part in online events
#### WeChat Group
- **Chinese community**: scan the QR code to join the WeChat group
- **Localized support**: technical discussion in Chinese
- **Collaboration**: find project partners
### Discussion Topics
We welcome discussion on the following topics:
- **Technical questions** - using the framework, best practices, performance tuning
- **Feature suggestions** - new feature proposals and improvement ideas
- **Showcase** - projects built with Vafast
- **Tutorials** - technical articles and video tutorials
- **Community events** - meetups and tech talks
## Contributing Code
### Contribution Guide
We welcome all kinds of contributions! Whether you're an experienced developer or a beginner, you can contribute to the project.
#### Types of Contributions
1. **Code contributions**
- Bug fixes
- New features
- Performance improvements
- Refactoring
2. **Documentation contributions**
- Documentation improvements
- Example code
- Translations
- Tutorials
3. **Testing contributions**
- Unit tests
- Integration tests
- Performance tests
- Improving test coverage
4. **Community contributions**
- Answering questions
- Code review
- Project management
- Community building
### Development Environment Setup
#### Prerequisites
```bash
# install Bun
curl -fsSL https://bun.sh/install | bash
# clone the repository
git clone https://github.com/vafast/vafast.git
cd vafast
# install dependencies
npm installRunning Tests
# run all tests
npm test
# run a specific test
npm test --grep "user"
# run performance tests
npm run test:perfCode Style
We use the following tools to ensure code quality:
- ESLint - code style checks
- Prettier - code formatting
- TypeScript - type checking
- Husky - Git hooks
# lint
npm run lint
# format
npm run format
# type check
npm run type-checkCommit Conventions
We follow the Conventional Commits specification:
feat: add a new feature
fix: fix a bug
docs: documentation updates
style: code formatting changes
refactor: code refactoring
test: test-related changes
chore: changes to the build process or auxiliary toolsPull Request Workflow
- Fork the repository - create your fork
- Create a branch - create a new branch for your feature
- Develop - implement your feature or fix
- Run tests - make sure all tests pass
- Commit - use conventional commit messages
- Open a PR - submit a pull request
- Code review - wait for maintainers to review
- Merge - merged once the review passes
Showcase
Featured Projects
Great projects built with Vafast:
Personal Blog System
- Project: Vafast Blog
- Description: a modern blog system built on Vafast
- Features: Markdown support, comments, SEO optimization
E-commerce API
- Project: Vafast Shop
- Description: a complete e-commerce backend API
- Features: user management, product management, orders, payment integration
Real-time Chat App
- Project: Vafast Chat
- Description: a real-time chat app with WebSocket support
- Features: real-time messages, online presence, group chats
Submit Your Project
If you've built a project with Vafast, we'd love to showcase it:
- Create a new post in GitHub Discussions
- Use the "Show and Tell" label
- Include a project description, screenshots, tech stack, etc.
- Provide the project link and source code
Learning Resources
Official Resources
- Docs: docs.vafast.dev
- API reference: api.vafast.dev
- Examples: examples.vafast.dev
- Benchmarks: benchmarks.vafast.dev
Third-Party Resources
Video Tutorials
- Bilibili: Vafast getting-started series
- YouTube: Vafast Framework Tutorials
- Tencent Video: hands-on Vafast development
Blog Posts
- Juejin: Vafast technical articles
- CSDN: Vafast development experience
- Zhihu: Vafast technical discussions
Open Source Projects
- GitHub: search for the "vafast" topic
- GitLab: Vafast-related projects
- Gitee: mirror projects in China
Community Events
Online Events
Tech Talks
- When: the last Saturday of every month
- Topics: rotating technical topics
- Format: live stream + interactive discussion
- Sign up: [event registration link]
Code Review Day
- When: every Wednesday evening
- Content: open-source code review
- Participate: submit code or join the review
- Rewards: recognition for outstanding contributors
Q&A Hour
- When: every Friday afternoon
- Format: online Q&A
- Experts: framework maintainers and community experts
- Notes: Q&A content is compiled into documentation
Offline Events
Meetups
- Beijing: monthly tech talks
- Shanghai: developer meetups
- Shenzhen: startup tech talks
- Other cities: organized on demand
Conferences
- Vafast Conf: annual tech conference
- JSConf China: JavaScript conference
- Node.js developer conferences: Node.js ecosystem events
Community Guidelines
Code of Conduct
We're committed to a friendly, inclusive community:
- Respect others - respect every community member
- Constructive discussion - keep discussions positive and constructive
- Inclusiveness - developers of all backgrounds and experience levels are welcome
- Professionalism - keep technical discussions professional
Prohibited Behavior
The following is not allowed in the community:
- Personal attacks or insulting language
- Spam or advertising
- Malicious code or exploiting security vulnerabilities
- Content that violates laws or regulations
Reporting
If you encounter inappropriate behavior:
- Message an admin - contact a community admin privately
- Report content - use the platform's reporting feature
- Report by email - send an email to community@vafast.dev
Contact
Official Contact
- Email: hello@vafast.dev
- Twitter: @vafast_dev
- GitHub: github.com/vafast
- Discord: discord.gg/vafast
Community Team
- Tech lead: @tech-lead
- Community manager: @community-manager
- Docs maintainer: @docs-maintainer
Feedback Channels
- Feature suggestions: GitHub Issues
- Bug reports: Bug Report Template
- Docs feedback: Documentation Issues
Summary
The Vafast community is a vibrant developer community dedicated to:
- ✅ Providing technical support and help
- ✅ Promoting knowledge sharing
- ✅ Encouraging code contributions and participation
- ✅ Organizing tech events and meetups
- ✅ Maintaining a friendly community environment
Join Us
Whether you're an experienced developer or a beginner, you're welcome in the Vafast community!
- Join now: GitHub Discussions
- Real-time chat: Discord server
- Contribute: Contribution guide
- Learn: Docs center
Let's build a better web development experience together!