A React application built with Create React App and deployed using Cloudflare Pages.
Live site: https://tinymiracle.life
Install dependencies:
npm installStart the development server:
npm startThe app runs at:
Changes are reloaded automatically.
Create the optimized build:
npm run buildThe output is generated in the build/ directory.
Deployment is handled through GitHub Actions CI so the team can collaborate, while the Cloudflare Pages project itself is connected to the maintainer’s Cloudflare account.
The CI workflow builds the project and publishes the contents of the build/ directory to Cloudflare Pages.
Manual deployment (for maintainers only):
npx wrangler pages deploy ./build --project-name=tiny-web
The live domain is:
The repository includes an optional workflow under:
.github/workflows/deploy.ymlThis workflow runs on every push to main and deploys the latest build to Cloudflare Pages using tokens stored in the repository secrets.
Required repository secrets:
CLOUDFLARE_API_TOKEN
CLOUDFLARE_ACCOUNT_ID
CLOUDFLARE_PROJECT_NAMEAvailable Scripts
Additional scripts provided by Create React App: • npm test — run tests in watch mode • npm run eject — expose the underlying configuration (not reversible)
For more details, refer to the Create React App documentation.