Skip to content

davidcsally/davidcsally.github.io

Repository files navigation

Deploy Codacy Badge Maintainability Test Coverage Code Style Netlify Status Storybook

Welcome to my website

This was built using:

  • NextJS
  • Styled Components (TODO investigate linaria)
  • Typescript

That's about it!

Deployment:

  • Vercel (website)
  • Netlify (storybook)

Pipeline

  • Pull requests run a test build script and previews are automatically deployed to Vercel
  • Test coverage changes are reported in pull requests by Code Climate via Jest
  • Cypress ensures that the entire is site is working, from the node server to the client
  • Merges into main automatically build and deploy to Vercel
  • A Storybook instance is auto-magically deployed to Netlify

Available Scripts

In the project directory, you can run:

yarn dev

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Runs all jest tests. Add --collectCoverage to collect test coverage from all valid files under /src.

yarn test:cypress

Runs the cypress testing suite.

yarn build and yarn start

Build the thing. Nextjs goes brrrrr.

yarn storybook

Open the storybook development sandbox.