{"id":20365615,"url":"https://github.com/hackyourfuture/masterclass-react-redux","last_synced_at":"2025-08-11T20:12:51.406Z","repository":{"id":74101998,"uuid":"87658870","full_name":"HackYourFuture/masterclass-react-redux","owner":"HackYourFuture","description":"Repository for the Masterclass React/Redux","archived":false,"fork":false,"pushed_at":"2017-04-23T13:45:26.000Z","size":233,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":41,"default_branch":"master","last_synced_at":"2024-04-13T19:23:13.544Z","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/HackYourFuture.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":"2017-04-08T19:28:32.000Z","updated_at":"2023-03-26T20:49:23.000Z","dependencies_parsed_at":"2023-04-09T18:46:54.639Z","dependency_job_id":null,"html_url":"https://github.com/HackYourFuture/masterclass-react-redux","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HackYourFuture/masterclass-react-redux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HackYourFuture%2Fmasterclass-react-redux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HackYourFuture%2Fmasterclass-react-redux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HackYourFuture%2Fmasterclass-react-redux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HackYourFuture%2Fmasterclass-react-redux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HackYourFuture","download_url":"https://codeload.github.com/HackYourFuture/masterclass-react-redux/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HackYourFuture%2Fmasterclass-react-redux/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269948859,"owners_count":24501821,"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","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-15T00:19:05.293Z","updated_at":"2025-08-11T20:12:51.382Z","avatar_url":"https://github.com/HackYourFuture.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Getting started with a React application\n\n## Presentation\n\nhttp://slides.com/joostlubach/react\n\n## Example app\n\nWhat we'll be using:\n\n- **Babel** to convert ES2015 JSX files to ES5 files\n- **Webpack** to create a single JS file for the browser\n- **Webpack** dev server to load our web page\n\nTo create this project template from scratch:\n\n```bash\n# Install system-wide prerequisites\nnpm install -g yarn webpack webpack-dev-server\n\n# Create an app directory\nmkdir react-app\ncd react-app\n\n# Initialize the app directory\nnpm init\nyarn\n\n# Add required development packages\nyarn add -D babel-core babel-preset-react babel-loader\n\n# Add required runtime packages\nyarn add react\n\n# Create .babelrc file (just copy-paste this line)\necho -e \"{\\n  \\\"presets\\\": [\\\"react\\\"]\\n}\" \u003e.babelrc\n\n# To view the created file:\ncat .babelrc\n\n# Create webpack.config.js\n# I created a Gist for this at https://gist.githubusercontent.com/joostlubach/30955f971560c06bf77f759442b3515f/raw/194a87ec4732b1b8dc1f482956f2334213b08fcc/webpack.config.js\n# Either download it and save it as webpack.config.js in your directory, or if you have wget, type:\nwget https://gist.githubusercontent.com/joostlubach/30955f971560c06bf77f759442b3515f/raw/194a87ec4732b1b8dc1f482956f2334213b08fcc/webpack.config.js\n\n# To view the created file:\ncat webpack.config.js\n\n# Create an empty src and build directory\nmkdir src build\n\n# Create an empty index.js file\necho '' \u003esrc/index.js\n```\n\n- Now create an `index.html` page inside the build directory:\n\n```\n\u003c!doctype html\u003e\n\n\u003chtml\u003e\n  \u003chead\u003e\n    \u003ctitle\u003eReact example\u003c/title\u003e\n  \u003c/head\u003e\n\n  \u003cbody\u003e\n    \u003cmain\u003e\u003c/main\u003e\n    \u003cscript type=\"text/javascript\" src=\"./bundle.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"/webpack-dev-server.js\"\u003e\u003c/script\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\n- Finally, start up your web server!\n\n```bash\nwebpack-dev-server --content-base build --inline\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackyourfuture%2Fmasterclass-react-redux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhackyourfuture%2Fmasterclass-react-redux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackyourfuture%2Fmasterclass-react-redux/lists"}