Create a new Enfyra server application with an interactive CLI setup.
# Using npx (recommended)
npx @enfyra/create-server my-project
# Using npm
npm init @enfyra/create-server my-project
# Using yarn
yarn create @enfyra/create-server my-project
# Using bun
bun create @enfyra/create-server my-project- Node.js >= 20.0.0
- Package manager (npm ≥8.0.0, yarn ≥1.22.0, or bun ≥1.0.0)
- Database server (MySQL, MariaDB, PostgreSQL, or MongoDB)
- Redis server
The interactive CLI sets up a complete NestJS application with:
- Database integration (MySQL/PostgreSQL/MariaDB/MongoDB)
- Redis caching
- JWT authentication
- Environment configuration
- Development tools
After creating your project:
cd my-project
npm run startFor detailed setup, API usage, and development guides, visit the Enfyra Installation Guide.