{"id":13480049,"url":"https://github.com/xkawi/create-react-app-now","last_synced_at":"2025-04-07T15:32:51.243Z","repository":{"id":51610959,"uuid":"64890821","full_name":"xkawi/create-react-app-now","owner":"xkawi","description":"Hello, create-react-app, meet Zeit's awesome now.sh service.","archived":false,"fork":false,"pushed_at":"2021-05-11T03:35:33.000Z","size":95,"stargazers_count":137,"open_issues_count":8,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T20:26:28.626Z","etag":null,"topics":["create-react-app","now","react","zeit"],"latest_commit_sha":null,"homepage":"https://create-react-app.now.sh","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xkawi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-04T01:15:52.000Z","updated_at":"2025-02-26T21:54:12.000Z","dependencies_parsed_at":"2022-08-21T23:40:12.291Z","dependency_job_id":null,"html_url":"https://github.com/xkawi/create-react-app-now","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/xkawi%2Fcreate-react-app-now","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xkawi%2Fcreate-react-app-now/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xkawi%2Fcreate-react-app-now/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xkawi%2Fcreate-react-app-now/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xkawi","download_url":"https://codeload.github.com/xkawi/create-react-app-now/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247679896,"owners_count":20978154,"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":["create-react-app","now","react","zeit"],"created_at":"2024-07-31T17:00:33.841Z","updated_at":"2025-04-07T15:32:46.430Z","avatar_url":"https://github.com/xkawi.png","language":"JavaScript","readme":"# create-react-app-now\n\nDeploy React.js Static Web Apps generated with [facebook/create-react-app](https://github.com/facebook/create-react-app) to Zeit's awesome [Now.sh](https://zeit.co/now/) service.\n\nI wrote an article about this project here: [Zero Configuration Deployment for React app with Zeit Now](https://medium.com/@kawixiao/zero-configuration-deployment-for-react-apps-with-zeits-now-4f002be98c#.eyvj3mjdb)\n\n# Important\n\nUPDATE: create-react-app now officially recommend using \"serve\" to deploy your create-react-app project. The documentation can be found here: https://create-react-app.dev/docs/deployment\n\nI personally and strongly recommend you to check out [Next.js](https://zeit.co/blog/next) by Zeit team.\nThat will be my personal go to choice as well when creating new React project, and deploy to now seamlessly.\n\nThough create-react-app-now can serves as an example on how you can use create-react-app and zeit's now together.  \n\nHaving said that, it is likely that I will not actively maintain this repo anymore (e.g. update the dependencies). I will still accept PR though.\n\n# Why\n\ncreate-react-app-now is created using [facebook/create-react-app](https://github.com/facebook/create-react-app).\nAlthough it supports deployment to github pages and heroku, it does not feel intuitive just yet, as we need to run lots of commands.\n\nThis project is specifically to solve just that, with just 1 command: `npm run deploy`\n\nThis is achieved by using Zeit's awesome [Now.sh](https://zeit.co/now/) service.\nIt is fast, easy, and intuitive way of deploying your React app.\n\n# How\n\nSimply follow this step from getting started to deployment:\n\n```\n$ npm install -g now\n$ git clone https://github.com/xkawi/create-react-app-now\n$ npm install\n$ npm run deploy\n```\n\nFirst command installs the `now` cli globally as npm package. Another (or suggested) approach is to install [Now Desktop](https://zeit.co/desktop) to ensure automatic updates of `now` cli.\n\nSubsequent commands simply clone this repo, install necessary npm packages and deploy it to Now.\n\nWhenever you want to deploy new changes, just run `npm run deploy` again to get new public link, for free! :smile:\n\nYou will enjoy all the benefits that Now offers out-of-the-box: real-time and immutable deployments all within 1 command.\n\n## Note\n\nYou might see some red text appears or warnings in the log. You can safely ignore this, because your project will still be deployed successfully.\n\n# Alternatives Deployment\n\nIf you prefer something else, please refer to create-react-app documentation [here](https://create-react-app.dev/docs/deployment#other-solutions).\n\n# More\n\nRead more about create-react-app [here](https://github.com/facebook/create-react-app)\n\nRead more about Zeit's Now.sh [here](https://zeit.co/now)\n","funding_links":[],"categories":["Deployment","Uncategorized","JavaScript","Netlify"],"sub_categories":["Uncategorized","Now"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxkawi%2Fcreate-react-app-now","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxkawi%2Fcreate-react-app-now","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxkawi%2Fcreate-react-app-now/lists"}