create-rari-app
Version:
Create Runtime Accelerated Rendering Infrastructure (Rari) applications with no build configuration
123 lines (87 loc) • 2.96 kB
Markdown
A high-performance React Server Components application powered by [Rari](https://rari.dev).
```bash
{{INSTALL_COMMAND}}
{{PACKAGE_MANAGER}} run dev
```
Visit [http://localhost:5173](http://localhost:5173) to see your app.
This Rari application is pre-configured for cloud deployment.
1. **Push to GitHub**:
```bash
git add .
git commit -m "Initial commit"
git push origin main
```
2. **Deploy to Railway**:
- Go to [railway.app](https://railway.app)
- Create new project → "Deploy from GitHub repo"
- Select your repository
- Click "Deploy Now"
3. **Generate Domain**:
- In Railway dashboard → Settings → Networking
- Click "Generate Domain"
- Your app will be live! 🎉
```bash
{{PACKAGE_MANAGER}} run deploy:railway
```
1. **Push to GitHub**:
```bash
git add .
git commit -m "Initial commit"
git push origin main
```
2. **Deploy to Render**:
- Go to [render.com](https://render.com)
- Create new "Web Service"
- Connect your GitHub repository
- Render auto-detects Node.js and uses `render.yaml`
- Click "Create Web Service"
```bash
{{PACKAGE_MANAGER}} run deploy:render
```
```bash
{{PACKAGE_MANAGER}} run dev
{{PACKAGE_MANAGER}} run build
{{PACKAGE_MANAGER}} start
{{PACKAGE_MANAGER}} run start:local
{{PACKAGE_MANAGER}} run deploy:railway
{{PACKAGE_MANAGER}} run deploy:render
{{PACKAGE_MANAGER}} run lint
{{PACKAGE_MANAGER}} run typecheck
```
Cloud platforms automatically provide:
- `PORT` - Server port (platform assigns this)
- `NODE_ENV=production` - Production mode
Optional variables you can set:
- `RUST_LOG=debug` - Rust logging level
- **⚡ Rust Runtime**: Native performance with zero-cost abstractions
- **🚀 React Server Components**: True server-side rendering
- **📁 File-based Routing**: Automatic route generation
- **🎯 Zero Configuration**: Works out of the box
- [Rari Documentation](https://rari.dev)
- [Railway Documentation](https://docs.railway.app)
- [Render Documentation](https://render.com/docs)
- [React Server Components](https://react.dev/reference/react/use-server)
---
Built with ❤️ using [Rari](https://rari.dev)