{"id":15809908,"url":"https://github.com/amannn/react-static-website","last_synced_at":"2025-10-17T14:51:12.349Z","repository":{"id":84265490,"uuid":"48928102","full_name":"amannn/react-static-website","owner":"amannn","description":"A boilerplate for a static website built with React.","archived":false,"fork":false,"pushed_at":"2016-01-03T21:43:37.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-06T03:41:35.139Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/amannn.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}},"created_at":"2016-01-03T00:01:46.000Z","updated_at":"2016-01-03T03:33:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"ade76b66-60a6-4e47-86ad-05345941b0cf","html_url":"https://github.com/amannn/react-static-website","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/amannn%2Freact-static-website","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amannn%2Freact-static-website/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amannn%2Freact-static-website/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amannn%2Freact-static-website/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amannn","download_url":"https://codeload.github.com/amannn/react-static-website/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246563370,"owners_count":20797444,"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-05T03:41:34.881Z","updated_at":"2025-10-17T14:51:07.297Z","avatar_url":"https://github.com/amannn.png","language":"JavaScript","readme":"# react-static-website\nA boilerplate for a static website built with React.\n\nThis template is intended to be very basic, making it easy to understand for beginners.\n\n## Development\n### Setup\n1. Install node.js.\n2. Install an editor that accepts eslint (e. g. [Atom](https://atom.io/) with the plugin [linter-eslint](https://atom.io/packages/linter-eslint)), so you get warnings about syntax or code style errors.\n3. Install dependencies with `npm install`.\n\n### Run\n1. Start the development server with `npm run dev`.\n2. Check the console to see the URL the server runs on.\n\n## Use in production\n### Setup\n1. Install node.js ([Ubuntu](https://github.com/nodesource/distributions#deb))\n\n### Build\n1. Build the app with `npm run build`.\n2. Find the built files in the folder `dist`. Upload them to the root folder of a web server that can serve static files.\n\nYou can test the built files by navigating to `dist` and run `python -m SimpleHTTPServer`. Then open the shown URL in the browser.\n\nEvery route (e.g. `/about`) contains all the prerendered HTML code and loads the rest of web site with the JavaScript code. Therefore subsequent route changes will load instantly without communication with the server.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famannn%2Freact-static-website","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famannn%2Freact-static-website","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famannn%2Freact-static-website/lists"}