{"id":15402199,"url":"https://github.com/liby99/react-starter","last_synced_at":"2025-03-14T17:25:12.823Z","repository":{"id":90735973,"uuid":"153827862","full_name":"Liby99/react-starter","owner":"Liby99","description":null,"archived":false,"fork":false,"pushed_at":"2018-10-19T20:03:04.000Z","size":172,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T10:51:05.487Z","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/Liby99.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":"2018-10-19T18:50:30.000Z","updated_at":"2018-10-19T20:03:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"9d4c64bd-0f96-4b5a-8fda-507b32e45088","html_url":"https://github.com/Liby99/react-starter","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/Liby99%2Freact-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Liby99%2Freact-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Liby99%2Freact-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Liby99%2Freact-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Liby99","download_url":"https://codeload.github.com/Liby99/react-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243616983,"owners_count":20319985,"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-10-01T16:01:47.395Z","updated_at":"2025-03-14T17:25:12.795Z","avatar_url":"https://github.com/Liby99.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Starter Web Repo\n\nThis repository contains all the (biased) setup files for a react web application:\n\n- Folder structures\n- Webpack \u0026 webpack dev server: You can develop fluently\n- Flow typing: You get types in javascript\n- `scss` \u0026 `css` loader: `import 'style.scss'` in your javascript files\n- Home directory when import: You can write `import '~/components'` when import\n- React Router: Front-end routing plugin\n- An express server, so that you can build and then run the application on your server\n\n## Setup\n\nTo setup this repo, first clone this to your local machine. Make sure you have node (10.0+) and npm (6.2+) installed,\nand then\n\n```\n$ npm install\n```\n\nAt the same time, make sure that you fill in all the `FILL-IN-` placeholders in\n`package.json`. Also do install `flow-bin` in your computer in order to run the flow\ntype check.\n\n## Development\n\nTo develop this repo on your local machine, run\n\n```\n$ npm run dev\n```\n\nThis will open up port `9000` on your machine. If you want to change the port, go to `src/config/webpack.dev.config.js`.\nSo now go to `localhost:9000/` on your browser, you can then see the page showing up.\n\n## Build \u0026 Deploy\n\nWe will generate an express server serving a single-page application. To do that, run\n\n```\n$ npm run build\n```\n\nThis command will create several compiled files under `src/build/`. Make sure `index.html`, `main.css`, `main.js` are\nall there, then run\n\n```\n$ npm start\n```\n\nto start the express server. This will open up port `3000` on your machine. Go to `localhost:3000` to view the webpage\nif you are running the production server on your own machine. If you are deploying this on a server, make sure you\nredirect the requests to the port `3000`. Or if you want to pick another port, go to `src/config/express.config.js` and\nchange the `port` property there.\n\n## Clean\n\n```\n$ npm run clean\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliby99%2Freact-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliby99%2Freact-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliby99%2Freact-starter/lists"}