create-rx-stack
v0.1.4
Published
A comprehensive CLI tool for creating full-stack, typesafe Next.js applications
Maintainers
Readme
create-rx-app
A comprehensive CLI tool for creating full-stack, typesafe Next.js applications.
Features
- Next.js 14+ with App Router
- TypeScript
- Tailwind CSS
- tRPC for type-safe APIs
- Prisma ORM
- NextAuth.js for authentication
- ESLint and Prettier
- Zod for validation
Usage
```bash
Using npm
npx create-rx-app my-app
Using yarn
yarn create rx-app my-app
Using pnpm
pnpm create rx-app my-app ```
The CLI will guide you through the setup process, allowing you to select which features you want to include in your project.
Testing Locally
To test the CLI tool locally before publishing to npm:
- Clone the repository and navigate to the project directory
- Install dependencies: ```bash npm install ```
- Build the project: ```bash npm run build ```
- Create a global symlink: ```bash npm link ```
- Now you can run the CLI from anywhere on your machine: ```bash create-rx-app my-test-app ```
Alternatively, you can test without linking:
```bash
From the project directory
node dist/index.js my-test-app ```
What's included
The create-rx-app CLI creates a fully configured Next.js application with your selected features. It sets up:
- A modern Next.js application with the App Router (choose your preferred version)
- Optional src/ directory structure (you choose during setup)
- TypeScript configuration
- Tailwind CSS styling
- tRPC for end-to-end typesafe APIs
- Prisma ORM with your selected database
- Authentication with NextAuth.js
- Code quality tools like ESLint and Prettier
- Zod for runtime type validation
Inspiration
This project is inspired by create-t3-app, but with additional features and customizations.
License
MIT
