ME
metakermit/responder-react
Cookiecutter for using Responder with React and frontend routing
Responder React
The awesome new Responder web framework includes great support for serving
static files, so this project shows how easy it is to integrate a React
single page app.
Features
- πͺ quick start β create your own project in less than a minute using cookiecutter (example repo & website)
- π quick to launch β use a "Deploy to Heroku" button in the generated README.md (looks like this) βΒ it's magic β¨ (actually multiple buildpacks & a custom build step)
- π³ Docker support βΒ get a dev environment up in no time with
docker-compose up - π¨ modern JS tooling β a seamless workflow using Parcel
- π frontend routing β using React Router you can elegantly serve different React components on different urls
- π» server routing β trusted old server-side routing still works, so go ahead & build the admin interface without any JS
Usage
You can quickly reuse the scaffolding for your own project using cookiecutter:
pip install -U cookiecutter
cookiecutter gh:metakermit/responder-react # use a project name with no spacesYou will find further instructions in the generated project's README.md, but in short all you do is:
bin/install
bin/startor
docker-compose upAnd you'll have your Responder server serving the React app on http://localhost:5042/.
React Router is used for the frontend routing.
To demonstrate how the app should work, it consists of two pages:
- ShoppingList running on
/
- About running on
/about
On this page
Languages
JavaScript42.9%HTML30.1%Dockerfile14.6%Python7.6%Shell3.6%CSS1.2%
Contributors
MIT License
Created October 16, 2018
Updated October 26, 2024

