Skip to content

Zweihander-Main/torystories.stream

Repository files navigation

Build-badge

Podcast website with a historical bent

Screenshot of ToryStores.stream

Technologies used:

  • Gatsby (v5)
  • TypeScript
  • GraphQL + Typegen
  • TailwindCSS
  • Jest + Linting Runners
  • Cypress + Axe
  • Github Actions (E2E testing) + Husky pre-commit hooks
  • (former) NetlifyCMS

Dev workflow

Notes:

  • Cloudflare builds from cloudflare
    • cloudflare branch is protected from push/merge without E2E test passing
    • NetlifyCMS and preview deploys working from master branch

Workflow for development:

  1. Pre-commit hooks run on code: all jest tests and lint runners
  2. Push to master branch
  3. E2E tests run on new code
  4. If passed, branch pushed into cloudflare

Workflow for NetlifyCMS:

  1. PR created in master
  2. Preview deploys run on PR
  3. PR manually merged or merged through UI
  4. E2E tests run on new code
  5. If passed, branch pushed into cloudflare

Scripts

  • npm run build: Build to production using Gatsby (outputs to public folder)
  • npm run dev: Build and serve development version using Gatsby
  • npm run serve: Build and serve production
  • npm run test: Run jest and runners
  • npm run test:coverage: Generate coverage reports
  • npm run test:watch: Run jest and runners in watch mode
  • npm run test:debug: Run jest and allow node-based debugging
  • npm run test:e2e: Run cypress E2E tests
  • npm run test:e2e:run: Run cypress on production build
  • npm run test:e2e:dev: Open cypress dashboard on development build
  • npm run test:e2e:dev:prod: Open cypress dashboard on production build
  • npm run cy:run: Run cypress
  • npm run cy:open: Open cypress dashboard
  • npm run lint: Run all jest runners
  • npm run lint:md: Run remark markdown linter
  • npm run prepare: Prepare husky
  • npm run cloudflare: Script to run as cloudflare that builds and generates public coverage reports
  • npm run format: Auto-format using prettier

Possible improvements

  • When navigating directly to an episode page, the player is set to play the most recent episode rather than the episode navigated to.

Available for Hire

I'm available for freelance, contracts, and consulting both remotely and in the Hudson Valley, NY (USA) area. Some more about me and what I can do for you.

Feel free to drop me a message at:

hi [a+] zweisolutions {โ—} com

License

Code (outside the /content and /static/docs folders) is licensed under MIT Content underneath the /content and /static/docs folders is Copyright 2021-2024 of the author Martin Hutchinson unless otherwise stated, All Rights Reserved.

About

๐ŸŽ™ Gatsby podcast site with a historical bent

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published