In this Hasty Treat, Scott and Wes talk about the new Level Up Tutorials website — some of the new tech powering the site, behind-the-scenes decisions, previous iterations, and more!

Freshbooks - Sponsor Get a 30 day free trial of Freshbooks at freshbooks.com/syntax and put SYNTAX in the “How did you hear about us?” section.

Sentry - Sponsor If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.

Show Notes 02:55 - Previous iterations

  • Originally on Drupal 7
  • Full re-write to Meteor + Blaze
    • Two sites — store.leveluptutorials.com and leveluptutorials.com
  • Meteor + React
  • Meteor + Apollo
  • Combine store and site
  • Move to TypeScript
  • NOW

05:30 - Big choices

  • No Babel up and down the stack
  • UI
    • Mostly unchanged — React + Styled Components + SCSS
      • Moving more to SCSS, CSS vars
      • Build and dev done via Snowpack
        • 50ms hot reloadin’
        • Mega fast development workflow has been a huge plus
        • Errors in the UI via Snowpack
        • Wrote a custom GraphQL importer plugin
  • API
    • ESBuild
      • Insane speeds
      • Wrote a custom GraphQL importer plugin
    • Mercurious / Fastify
  • Codegen
    • GraphQL code gen to create everything we need for a fully typed codebase
    • Auto-generated React Hooks
  • Hosting
    • render.com for both
  • CLI
    • Custom avalanche CLI that removes the guesswork and makes bulk operations easy
  • Caddy server for easy leveluptutorials.dev in local environments
  • Testing
    • Jest → API
    • Cypress → UI

Links * Digital Ocean app platform * https://beta.leveluptutorials.com/

Tweet us your tasty treats! * Scott’s Instagram * LevelUpTutorials Instagram * Wes’ Instagram * Wes’ Twitter * Wes’ Facebook * Scott’s Twitter * Make sure to include @SyntaxFM in your tweets