RSS Amplifier

Blog

Leapcell

Deploy your project in the fast yet powerful way.

leapcell.substack.comSource feed ↗10 posts

Live Last read · last published · next check

Written by

Latest posts

Build a Docusaurus-like Site with FastAPI: Step 6 - Sidebar Generation

This guide implements a dynamic sidebar by scanning Markdown files and updating layouts to create a professional two-column documentation interface.

Build a Docusaurus-like Site with FastAPI: Step 4 - Parsing Frontmatter

This guide shows how to use python-frontmatter in FastAPI to parse Markdown metadata, like 'title', and dynamically pass it to a Jinja2 template instead of hardcoding it.

Build a Docusaurus-like Site with FastAPI: Step 3 - Code Highlighting

This guide shows how to add code syntax highlighting to a FastAPI docs site using Pygments and `python-markdown` extensions, including setting up static CSS.

Build a Docusaurus-like Site with FastAPI: Step 2 - Render Markdown

This article guides you through rendering Markdown files in a FastAPI application by installing `python-markdown`, creating a new route, and passing the converted HTML to a Jinja2 template.

Build a Docusaurus-like Site with FastAPI: Step 1 - HTML Template

This guide explains the first step in building a documentation site with FastAPI: setting up the project and using Jinja2 to render a dynamic HTML template.

Build Your Own Forum with FastAPI: Step 10 - Categories

This article explains how to add a "Categories" feature to a FastAPI forum by updating database models, modifying routes, and updating templates to organize posts by topic.

Build Your Own Forum with FastAPI: Step 9 - Upload Images

This guide details adding S3 image uploads to a FastAPI forum. It covers backend logic with `boto3`, database model changes, and updating FastAPI routes and HTML templates.

Build Your Own Forum with FastAPI: Step 8 - Full Text Search

This guide adds a powerful full-text search to a FastAPI forum using PostgreSQL's `tsvector`, SQL triggers, and a new search route.

Build Your Own Forum with FastAPI: Step 7 - Permissions

This guide implements a permission system for the FastAPI forum, adding admin roles and a user-banning feature with model updates and protected routes.

Build Your Own Forum with FastAPI: Step 6 - Comments and Replies

This guide details adding comment and reply functionality to a FastAPI forum by updating database models, creating a new `post_detail.html` template, and implementing backend routes.