Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jarvis394/react-router-cloudflare
https://github.com/jarvis394/react-router-cloudflare
Last synced: about 15 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/jarvis394/react-router-cloudflare
- Owner: jarvis394
- Created: 2024-11-29T23:07:44.000Z (24 days ago)
- Default Branch: main
- Last Pushed: 2024-11-29T23:10:34.000Z (24 days ago)
- Last Synced: 2024-11-30T00:19:29.360Z (24 days ago)
- Language: TypeScript
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to React Router!
A modern, production-ready template for building full-stack React applications using React Router.
## Features
- 🚀 Server-side rendering
- ⚡️ Hot Module Replacement (HMR)
- 📦 Asset bundling and optimization
- 🔄 Data loading and mutations
- 🔒 TypeScript by default
- 🎉 TailwindCSS for styling
- 📖 [React Router docs](https://reactrouter.com/)## Getting Started
### Installation
Install the dependencies:
```bash
npm install
```### Development
Start the development server with HMR:
```bash
npm run dev
```Your application will be available at `http://localhost:5173`.
## Building for Production
Create a production build:
```bash
npm run build
```## Deployment
Deployment is done using the Wrangler CLI.
To deploy directly to production:
```sh
npx wrangler deploy
```To deploy a preview URL:
```sh
npx wrangler versions upload
```You can then promote a version to production after verification or roll it out progressively.
```sh
npx wrangler versions deploy
```## Styling
This template comes with [Tailwind CSS](https://tailwindcss.com/) already configured for a simple default starting experience. You can use whatever CSS framework you prefer.
---
Built with ❤️ using React Router.