{"id":18711021,"url":"https://github.com/srm985/portfolio-website","last_synced_at":"2025-11-09T14:30:22.133Z","repository":{"id":86102303,"uuid":"185276439","full_name":"srm985/portfolio-website","owner":"srm985","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-04T08:10:06.000Z","size":58505,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-28T08:11:31.146Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srm985.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-06T21:46:44.000Z","updated_at":"2022-02-21T19:40:54.000Z","dependencies_parsed_at":"2024-11-07T12:51:52.767Z","dependency_job_id":null,"html_url":"https://github.com/srm985/portfolio-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/srm985%2Fportfolio-website","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srm985%2Fportfolio-website/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srm985%2Fportfolio-website/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srm985%2Fportfolio-website/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srm985","download_url":"https://codeload.github.com/srm985/portfolio-website/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239576847,"owners_count":19662112,"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-07T12:36:32.658Z","updated_at":"2025-11-09T14:30:22.101Z","avatar_url":"https://github.com/srm985.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Portfolio Website\n\nA static website generated from [Gatsby](https://www.gatsbyjs.org/) and [React](https://reactjs.org/). Intended to replace my legacy portfolio website built with vanilla JavaScript and [Bootstrap](https://getbootstrap.com/) V3.\n\n## Getting Started\n\n### Running / Developing\n\n```\nnpm install\nnpm start\n```\n\n### Building\n\n```\nnpm install\nnpm run build\n```\n\n### Serving\n\n```\nnpm install\nnpm run build\nnpm run serve\n```\n\n## Technical Stack\n\nThis project leverages [Gatsby](https://www.gatsbyjs.org/), which sits atop [React](https://reactjs.org/) to generate a static website. Development and build tasks are handled through NPM scripts. We lint both JavaScript and SCSS with [eslint](https://www.npmjs.com/package/eslint) and [sass-lint](https://www.npmjs.com/package/sass-lint) respectively. For component development, [Storybook](https://storybook.js.org/) is used.\n\n## Design Architecture\n\n#### Components\n\nThis project follows a `CDD (Component-Driven Development)` philosophy, where `components` are defined as our smallest, reusable building blocks. Components may or may not contain state, but typically should not. Components may contain the composition of other components.\n\n#### Templates\n\nFrom components, the next step up is `templates`. Templates typically contain reusable page layouts. For example, all projects use the same layout. Some templates may be one-offs however, such as the landing page or a contact page.\n\n#### Pages\n\nFinally, we leverage `pages` to define our website architecture. Pages identify our routing structure and contain page-specific data, but should not contain any logic or styling. Their use is to simply mate page data with the styling of a given template.\n\n## Storybook\n\n\u003e Storybook is an open source tool for developing UI components in isolation for React, Vue, and Angular. It makes building stunning UIs organized and efficient.\n\u003e\n\u003e \u0026mdash; [Storybook](https://storybook.js.org/)\n\n### Adding Stories\n\nIn each existing component, you will find a `stories.js` file. This file contains all stories related to that given component. When creating a new component, generate a new `stories.js` and populate with all component options.\n\n### Running / Developing\n\nRunning Storybook allows us to develop new React components in isolation. To run an instance, issue the following commands:\n\n```\nnpm install\nnpm run storybook\n```\n\n### Building\n\nStorybook provides us with the option to generate a static website from its library, similar to Gatsby. To regenerate this instance, issue the following commands:\n\n```\nnpm install\nnpm run build-storybook\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrm985%2Fportfolio-website","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrm985%2Fportfolio-website","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrm985%2Fportfolio-website/lists"}