/oauth.blog

An OAuth-related blog focused on developer setups

Primary LanguageMDXMIT LicenseMIT

OAuth Developer Blog

A technical blog with a focus on productive and reliable OAuth development setups:

Running the Blog

Step Description
npm install First install dependencies
npm start Run in development mode and open a browser at http://localhost:3000
./deploy-local.sh Run in deployed mode locally using http://localhost:3001
./deploy-aws.sh I can use this script to deploy static content to AWS CloudFront

Blog Technology

The blog is primarily written using MDX markdown and has minimal JavaScript logic:

  • MDX files render in this GitHub repository
  • MDX content renders in the NEXT.js development host.
  • MDX content built to HTML renders from any web static content host

I use the following plugins so that standard GitHub behaviours work in NEXT.js:

Plugin Usage
remark-gfm-no-autolink Render GitHub tables as HTML tables
remark-prism Syntax highlighting for code snippets
rehype-slug Add ids to h3 subheadings aso that they render as links