learnwithjason.dev
Boop Crew HQ for Learn With Jason
Fun things to do:
follow on Twitch ·
see upcoming episodes ·
add the Google Calendar
This site is home to Learn With Jason’s episode back catalog, upcoming schedule, and written posts. It’s built with Remix and Netlify Functions. For data, it uses a combination of Sanity and Hasura.
API
If you want to load Learn With Jason episodes or the schedule, there is an API available.
All requests are made through the /api
path. For example:
https://www.learnwithjason.dev/api/schedule
/api/episodes
Loads the most recent 50 episodes.
Options
/api/episodes/page/:page
— pagination allows retrieving older episodes, 50 per page
/api/episode/:slug
Load details about a single episode.
Options
/api/episode/:slug/transcript
— include the episode transcript in the response/api/episode/:slug/poster.jpg
— returns the episode poster image as an image
/api/schedule
Load upcoming episode details.
Local Development
To run this repo, you will need:
- Node >= v16.13.1 (if you’re using
nvm
, runnvm use
in the project root to switch) - the Netlify CLI
nvm use
npm i -g netlify-cli
To start, clone the repo and install dependencies:
# clone the repo
git clone [email protected]:learnwithjason/learnwithjason.dev
# move into the project directory, then into the site
cd learnwithjason.dev/site/
# install dependencies
npm install
# build the site — this is required for local dev!
npm run build
Next, start the project using the Netlify CLI:
ntl dev
The project will start at http://localhost:3000
. Please note that the environment variables will not be set, so some of the serverless functions won’t work unless you add your own env vars. This shouldn’t prevent working on the project for UI-related changes.
✨
Contributors Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!