This personal website (2020) is a Create React App project, leveraging Contentful for content management. It employs client-side rendering and allows full authoring via Contentful. The architecture is component-driven, with components visualized in Storybook. Code quality is maintained with ESLint for linting, Prettier for formatting, and Jest for testing.
- React.js
- Contentful
- Storybook
- ESLint
- Prettier
- Jest
Clone the repository to your local machine.
Install the dependencies.
npm install
In the project directory, you can run:
Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
Builds the app for production to the build
folder.
Launches the test runner in the interactive watch mode.
Runs ESLint on the ./src
directory, checking .ts
and .tsx
files.
Runs Prettier on the ./src
directory, formatting .js
, .ts
, .tsx
, .json
, and .scss
files.
Deploys the app to GitHub Pages.
Generates React components from SVG files in the public/assets/svg-elements
directory.
Starts Storybook on http://localhost:9001.
Generates TypeScript definitions for your Contentful models.