19-November-2026
Python FastAPI with JWT Auth serving a Tool-Calling Agentic RAG using LangChain - hosted at Vercel Cloud using Serverless Functions
There is a Vue 3 SPA for the FastAPI
A production-style FastAPI backend built with LangChain, Groq LLMs, and JWT authentication. The system implements a modern Agentic RAG system with tool-calling architecture that automatically decides when to use external tools such as Wikipedia for factual retrieval and RAG for internal knowledge
A Starter FastAPI + JWT Auth + AI Agent + RAG + LangChain + Vue 3 + OpenAPI / Swagger - secured by HTTPS
During the development process, I used ChatGPT for assisting with code generation and Github Copilot for code inline suggestion
DevOps by VS Code + GitHub + Vercel Cloud
The Vue SPA at GitHub08-November-2026
Python FastAPI and Vue Authentication Boilerplate Recommendations and Use Cases
Over time, I have built several FastAPI + Vue authentication projects, each introducing a different authentication strategy. The right choice depends on the security requirements, application type, and desired user experience.
1. HTTP Basic Authentication
Recommended for:
Internal tools, small APIs, admin dashboards, and simple authenticated services.
This is the simplest authentication approach in the series. It is easy to understand and implement, making it suitable for smaller applications where users authenticate directly with a username and password.
Good use cases:
Not recommended for:
2. JWT Authentication (Access Tokens)
Recommended for:
APIs and applications requiring stateless authentication.
This boilerplate introduces JWT-based authentication where users receive an access token after login. The token is then used to access protected API endpoints.
Good use cases:
Advantages:
Limitations:
3. JWT Refresh Token Renewal
Recommended for:
Single Page Applications and applications requiring longer user sessions.
This version introduces refresh tokens, allowing users to stay logged in after the short-lived access token expires.
Good use cases:
Advantages:
Limitations:
4. JWT Refresh Token Rotation
Recommended for:
Production applications requiring stronger session security.
Refresh token rotation improves security by replacing the refresh token every time it is used. Each refresh operation creates a new token pair.
Good use cases:
Advantages:
Limitations:
5. Refresh Token Reuse Detection (Without HTTP-only Cookies)
Recommended for:
Advanced authentication systems where refresh token attacks need to be detected.
This version adds detection of revoked refresh token reuse. If an old refresh token is used after rotation, the system can identify suspicious activity.
Good use cases:
Advantages:
Limitations:
6. Refresh Token Reuse Detection with HTTP-only Cookies
Recommended for:
Production-grade web applications with high security requirements.
This is the most advanced version in the series. It combines refresh token rotation, reuse detection, and HTTP-only cookies to reduce exposure of sensitive tokens in the browser.
Good use cases:
Advantages:
Considerations:
Suggested Default Choice
The final HTTP-only cookie version is the strongest foundation for most new web applications, while the earlier versions remain valuable as lightweight templates depending on project requirements...
Happy coding :-)
08-November-2026
Python FastAPI with JWT Authentication and a LangChain AI Agent for Simply.com Public MCP - hosted at Vercel Cloud using Serverless Functions
There is a Vue 3 SPA for the FastAPI
A production-style FastAPI backend built with LangChain, Groq LLMs, and JWT authentication. The system implements a modern tool-calling AI agent architecture that automatically decides when to use external tools such as Wikipedia for factual retrieval or the public MCP at Simply
A Starter FastAPI + JWT Auth + MCP + Simply + AI Agent + LangChain + Vue 3 + OpenAPI / Swagger - secured by HTTPS
During the development process, I used ChatGPT for assisting with code generation and Github Copilot for code inline suggestion
DevOps by VS Code + GitHub + Vercel Cloud
The Vue SPA at GitHub08-October-2026
Python FastAPI with JWT Auth serving a RAG Application using Groq + Hugging Face embeddings (v2) - hosted at Vercel Cloud using Serverless Functions
There is a Vue 3 SPA for the FastAPI
A Starter FastAPI + JWT Auth + Retrieval-Augmented Generation (RAG) by Groq LLM + Embeddings by Hugging Face model + Vue 3 SPA + OpenAPI / Swagger - secured by HTTPS
A PostgreSQL database was used with the pgvector extension
During the development process, I used ChatGPT for assisting with code generation and Github Copilot for code inline suggestion
DevOps by VS Code + GitHub + Vercel Cloud
The Vue SPA at GitHub01-October-2026
Python FastAPI with JWT Auth serving a Tool-Calling AI Agent - hosted at Render Cloud by Webservice
The AI agent implements a modern 3-phase Tool Agent Pipeline (Plan → Execute → Synthesize) where tools are safely selected, executed, and used to generate grounded responses using a minimal of Langchain
There is a Vue 3 SPA for the FastAPI
A Starter FastAPI + JWT Auth + AI Agent + Vue 3 + OpenAPI / Swagger - secured by HTTPS
During the development process, I used ChatGPT for assisting with code generation and Github Copilot for code inline suggestion
DevOps by VS Code + GitHub + Render Cloud
The Vue SPA at GitHub