{"id":20698205,"url":"https://github.com/fly-apps/hello-create-react-app","last_synced_at":"2025-09-27T08:31:15.768Z","repository":{"id":104277230,"uuid":"542634402","full_name":"fly-apps/hello-create-react-app","owner":"fly-apps","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-28T14:35:40.000Z","size":302,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":10,"default_branch":"main","last_synced_at":"2024-11-17T00:27:06.601Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fly-apps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-28T14:30:30.000Z","updated_at":"2024-10-30T01:05:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"7f7f1329-c604-479a-9f52-77d5409fa06b","html_url":"https://github.com/fly-apps/hello-create-react-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-apps%2Fhello-create-react-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-apps%2Fhello-create-react-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-apps%2Fhello-create-react-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-apps%2Fhello-create-react-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fly-apps","download_url":"https://codeload.github.com/fly-apps/hello-create-react-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234415565,"owners_count":18829133,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T00:23:29.319Z","updated_at":"2025-09-27T08:31:15.233Z","avatar_url":"https://github.com/fly-apps.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fly + Create React App = ❤️\n\nThis project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).\n\nThis serves as a simple way to teach React developers how to deploy on Fly.io\n\n## How to deploy this?\n\nIf you just want to deploy this project all you need is `fly launch` and accept copying the configuration.\n\n```sh\n$ fly launch\nAn existing fly.toml file was found\n? Would you like to copy its configuration to the new app? Yes\nCreating app in /path/to/fly-create-react-app\nScanning source code\nDetected a Dockerfile app\n? App Name (leave blank to use an auto-generated name): create-react-app-on-fly\n? Select organization: Lubien (personal)\n? Select region: gru (São Paulo)\nCreated app create-react-app-on-fly in organization personal\nWrote config file fly.toml\n? Would you like to set up a Postgresql database now? No\n? Would you like to deploy now? Yes\nDeploying create-react-app-on-fly\n==\u003e Validating app configuration\n--\u003e Validating app configuration done\n...\n```\n\n## How to add this to my other React project?\n\nThe important files here are the Dockerfile, `fly.toml`, `.dockerignore` and the `nginx` folder.\n\nCopy those to your project and you should be good to go.\n\n## How does this work?\n\nThis setup uses a Dockerfile with NodeJS to build your project using `npm run build` then we copy the built files\nto a Nginx image to serve all statics handling pretty URLs.\n\nWorth mentioning we added `[[statics]]` to the `fly.toml` to cache statics too.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffly-apps%2Fhello-create-react-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffly-apps%2Fhello-create-react-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffly-apps%2Fhello-create-react-app/lists"}