markjaquith / joy-of-code

🌸 Joy of Code is a digital garden growing curious minds

Home Page:https://joyofcode.xyz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Joy of Code

Bob Ross

πŸ§‘β€πŸŽ¨ What is Joy of Code?

Joy of Code is a digital garden growing curious minds focused on web development and web design.

▢️ YouTube

You can also find my videos on YouTube.

πŸ’°οΈ Support

You can support my work by becoming a patron or becoming a YouTube member starting low as $1/month.

πŸ€— Contributing

At the end of each post there's a direct link to the Markdown file of the post you can edit within GitHub. Read the contributing guidelines to learn more.

πŸ’¬ GitHub Discussions

I use GitHub Discussions to track breaking changes for posts which you can use to report issues.

🧭 Technologies

  • ⚑️ SvelteKit is used for the frontend with server-side rendering and prerendering static pages

  • πŸ”Œ GitHub API is used to manage content so GitHub is the content management system

  • The editor uses ⚑️ SvelteKit for the frontend and πŸ“œ Monaco Editor (code editor which powers VS Code) as the editor to manage content using the πŸ”Œ GitHub API

  • ✍️ Posts are stored inside the posts folder and are used to build the page using the πŸ”Œ GitHub API but data is where posts metadata is stored in a single posts.json to serve as a database

  • The project is hosted on Vercel and uses ignored build step with git diff HEAD^ HEAD --quiet . ':(exclude)posts/*' ':(exclude)data/*' to avoid redeploy for those special folders

  • The tests use Playwright for end-to-end testing

  • Newsletter uses Buttondown when I remember to send one 🀭

  • Post views use Supabase

  • Social share images are generated using mattcroat/social-share-images

πŸ“œ Setup

The project uses πŸ“¦οΈ pnpm but any package manager is going to work.

πŸ‘¬ Clone the project.

git clone https://github.com/mattcroat/joy-of-code.git

πŸ“¦οΈ Install the dependencies.

pnpm i

πŸ’ΏοΈ Run the development server with pnpm run dev or build and preview the project with pnpm run build && pnpm run preview.

pnpm run dev

About

🌸 Joy of Code is a digital garden growing curious minds

https://joyofcode.xyz

License:MIT License


Languages

Language:Svelte 50.7%Language:TypeScript 23.8%Language:SCSS 21.3%Language:HTML 3.1%Language:JavaScript 1.0%Language:Shell 0.2%