g1t/apps/web/README.md

79 lines1,379 bytesCodeBlame
1# Welcome to React Router!
2
3A modern, production-ready template for building full-stack React applications using React Router.
4
5## Features
6
7- 🚀 Server-side rendering
8- ⚡️ Hot Module Replacement (HMR)
9- 📦 Asset bundling and optimization
10- 🔄 Data loading and mutations
11- 🔒 TypeScript by default
12- 🎉 TailwindCSS for styling
13- 📖 [React Router docs](https://reactrouter.com/)
14
15## Getting Started
16
17### Installation
18
19Install the dependencies:
20
21```bash
22npm install
23```
24
25### Development
26
27Start the development server with HMR:
28
29```bash
30npm run dev
31```
32
33Your application will be available at `http://localhost:5173`.
34
35## Previewing the Production Build
36
37Preview the production build locally:
38
39```bash
40npm run preview
41```
42
43## Building for Production
44
45Create a production build:
46
47```bash
48npm run build
49```
50
51## Deployment
52
53Deployment is done using the Wrangler CLI.
54
55To build and deploy directly to production:
56
57```sh
58npm run deploy
59```
60
61To deploy a preview URL:
62
63```sh
64npx wrangler versions upload
65```
66
67You can then promote a version to production after verification or roll it out progressively.
68
69```sh
70npx wrangler versions deploy
71```
72
73## Styling
74
75This template comes with [Tailwind CSS](https://tailwindcss.com/) already configured for a simple default starting experience. You can use whatever CSS framework you prefer.
76
77---
78
79Built with ❤️ using React Router.