Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Sowards Consulting training app

An installable web app for Sowards Consulting: weekly use of force case law briefs written for the general training population, a Case library of standalone teaching briefs, the Use of Force Case Law Update podcast, the STC-certified training catalog, a resource center for trainers, and the free Downing the Duck and PC 835a references.

It is built as a progressive web app, so it works in any browser and can be added to a phone's home screen. The same code can later be wrapped for the Apple App Store and Google Play.

Quick start

npm install
npm run dev        # local development server
npm run build      # generates the podcast feed, type-checks, and builds to dist/
npm run preview    # serves the production build locally

Copy .env.example to .env to set the public URL, the audio host, and the MailerLite form.

Where things live

Path What it is
content/briefs/*.json One file per weekly brief. Add a file, rebuild, and it appears.
content/cases/*.json The Case library: one standalone teaching brief per decision, not tied to a week.
content/episodes.json Podcast episode list. Drives the podcast page and the RSS feed.
content/courses.live.json Online course catalog synced from sowardsconsulting.com at build time.
content/courses.meta.json STC numbers and track labels by course id, maintained by hand.
content/courses.json Upcoming courses and the pricing note.
content/resources.json Trainer resource center categories and links.
content/duck.json Downing the Duck six-stage framework.
content/pc835a.json PC 835a after AB 392 quick reference.
content/guardrails.json Agencies and terms the YouTube channel does not discuss. A git-ignored content/guardrails.private.json holds retained matters.
content/youtube/*.md One video kit per brief for the Sowards Briefing Room channel: titles, thumbnail text, description, chapters, shot list, Shorts, and the week's posts.
scripts/sync-site.mjs Reads the live course catalog from the site.
scripts/build-feed.mjs Generates public/podcast/feed.xml from the episode list.
scripts/build-sitemap.mjs Generates public/sitemap.xml and public/robots.txt for search engines.
scripts/build-youtube-kit.mjs Writes the video kit for a brief to content/youtube/, after screening every case against the guardrail lists.
wordpress/sowards-app-api.php WPCode snippet for the site: sign-in, subscription check, courses and certificates for the app.
.github/workflows/deploy-pages.yml Builds and deploys to GitHub Pages on every push to main.
src/pages/ One React component per screen.
src/config.ts Site name, contact details, and environment-driven settings.
src/styles.css Brand tokens (navy, red, gold, Inter, Montserrat) and layout.
docs/ Content workflow, deployment, and roadmap.

Deployment

Merging to main deploys the app to GitHub Pages automatically. See Deployment for the live address, optional variables, and moving to a custom domain.

Documentation

  • Content workflow: how to publish a weekly brief, a podcast episode, and a YouTube video kit.
  • Deployment: hosting options, audio hosting, and podcast directory submission.
  • Roadmap: connecting to the WordPress and LifterLMS site, push notifications, native app wrappers.
  • Subscription: how the free 30 days, then $9.99 a month or $59.99 a year, is set up on the site and enforced in the app.
  • Site integration: what the app reads from sowardsconsulting.com and what still needs to change on the site.
  • Market landscape and growth plan: who competes for the same sign-ups, where Sowards is different, and how to draw people to the app.
  • YouTube niche scrub: the lanes scored for a faceless channel, the recommended three pillars, and the Pocket prompt set answered.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages