{"repo":"sergiodxa/react-router-cloudflare-minimal","free":true,"listed":false,"github":"https://github.com/sergiodxa/react-router-cloudflare-minimal","clone":"git clone https://github.com/sergiodxa/react-router-cloudflare-minimal.git","description":"A minimal React Router + Cloudflare Workers template","language":"TypeScript","stars":35,"topics":["cloudflare-workers","react-router","template"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"Minimal React Router Cloudflare Workers Template This is a minimal template for building React applications with React Router and Cloudflare Workers. It includes server-side rendering, hot module replacement, TypeScript, and middleware by default. Getting Started Clone the Template The recommended way to clone this repo is using degit After the repo is clonned, this will remove the LICENSE and .github/FUNDING.yml files, and the .git folder, so you will have a clean slate to start your project. Installation Install the dependencies: Development Start the development server with HMR: Your application will be available at http://localhost:3000 . Building for Production Create a production build: Deployment This template can only be deployed to Cloudflare Workers. This will init the deploy script of wrangler and guide you to deploy the application. Using GitHub Actions This template includes a GitHub Actions workflow that will deploy your application to Cloudflare Workers when triggered. To use it you need to set the following secrets in your repository: - CLOUDFLARE API TOKEN - CLOUDFLARE ACCOUNT ID You can get the CLOUDFLARE API TOKEN from the Cloudflare dashboard and the CLOUDFLARE ACCOUNT ID from the wrangler configuration file. Then trigger the workflow by clicking on the \"Actions\" tab in your repository and running the \"Deploy\" workflow. Styling This template comes with Tailwind CSS already configured for a simple default starting experience. You can use whatever CSS framew","default_branch":null,"files":null,"tree":[],"storefront":"/r/sergiodxa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sergiodxa/react-router-cloudflare-minimal/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}