Skip to content
Building Learning + Project Guides for NestJS episode artwork

Aug 9, 2026 29 min

Building Learning + Project Guides for NestJS

from Digital Dopamine Hosted by Digital Dopamine LLC

New Framework, Who Dis???? Okay, so maybe not new in general, but definitely new to me. So this felt like the perfect opportunity to dive into some fresh docs to see if this framework would be useful for me in my future projects. I’ve been focusing on the Python ecosystem when it comes to AI, but if I'm being honest, I feel like the polyglot codebase of needing to run Python for your backend and having a JS/TS frontend. It’s kind of a pain. Even though Python is much easier to get up and running with AI + it has a MASSIVE ecosystem within the AI space already, NestJS is starting to emerge as one of the go-to JS/TS frameworks to use for building out AI tooling and RAG systems. So today, I wanted to explore what NestJS is as a framework, get into a bit of its lore, and then run through an example of using local AI models to build you a lesson and project plan so you can curate the best way for YOU to learn this framework. We will NOT be using AI to build the project, and I implore you to try building out the application just using docs and forums, even if you have to struggle a bit. The project guide that will have the local model built for us will be small, so it shouldn’t be too difficult to run through on your own. But for now, let’s dive into the docs of NestJS. The Rising Star in the League of JS Frameworks Quite a statement, right? Well, it’s not me that’s praising this Framework. There are plenty of forums and posts out there from fellow devs that love it and claim it to be the future leader for building your Node backend. As you can see here, this dev gives a good example of what a call to the Claude AI would look like in NestJS. That same call in Python would look something like the following: import os import httpx class AiService: def __init__(self): self.api_key = os.environ["ANTHROPIC_API_KEY"] async def ask(self, prompt: str) -> str: async with httpx.AsyncClient() as client: response = await client.post( "https://api.anthropic.com/v1/messages", headers={ "x-api-key": self.api_key, "anthropic-version": "2023-06-01", "content-type": "application/json", }, json={ "model": "claude-sonnet-4-5", "max_tokens": 1024, "messages": [{"role": "user", "content": prompt}], }, ) response.raise_for_status() data = response.json() return data["content"][0]["text"] Now, at first glance, one may think: “The Python code looks simpler and is much easier to understand”. Well, you’re not wrong at all 😂, the NestJS code example from the screenshot has an @Injectable() decorator, which I learned is an explicit constructor with typed parameter injection that relies on Nest’s DI(Dependency Injection) container to actually provide a ConfigService. This is one of the drawbacks to using such a strict framework for smaller projects, products, or services. But this is EXACTLY what you want when working on a larger-scale application. Nest’s DI and module system are what make large codebases easier to test, mock, and reason about at scale when you’ve got a real app in production with dozens of services. Some Quick Definitions and Notes From the Docs Here, I’m gonna pull a couple sections straight from the docs, word for word. Intro NestJS uses progressive JavaScript, is built with and fully supports TypeScript (yet still enables developers to code in pure JavaScript) and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming). Under the hood, Nest makes use of robust HTTP Server frameworks like Express (the default) and optionally can be configured to use Fastify as well! Nest provides a level of abstraction above these common Node.js frameworks (Express/Fastify), but also exposes their APIs directly to the developer. This gives developers the freedom to use the myriad of third-party modules which are available for the underlying platform. Philosophy In recent years, thanks to Node.js, JavaScript has become the “lingua franca” of the web for both front and backend applications. This has given rise to awesome projects like Angular, React, and Vue, which improve developer productivity and enable the creation of fast, testable, and extensible frontend applications. However, while plenty of superb libraries, helpers, and tools exist for Node (and server-side JavaScript), none of them effectively solve the main problem of architecture. Nest provides an out-of-the-box application architecture which allows developers and teams to create highly testable, scalable, loosely coupled, and easily maintainable applications. The architecture is heavily inspired by Angular. Hopefully that little intro into what NestJS is and why it was built helps show the possible use case for your own projects. Or you could be like “naaa son, this is a lame framework”, that’s acceptable too 😂. Here is a link to their docs -> https://docs.nestjs.com/ And I recommend taking a gander through it to get a better understanding of the framework. But I wanna get to the fun stuff and start working on setting up our personal learning guide and project guide. Gemma Steps Up to Bat... As I mentioned earlier, we will be sticking with local open-weight models for building us our learning and project guides. But just like last time.... ...Swing and a Miss, But Not Out With this task being much simpler than the remotion animation creation we did in the last episode, I expected it to handle this task with much more ease. At first we hit a couple of roadblocks because of some directory confusion and vagueness in my prompt, but after some tweaking and after opening up the agent in the proper Obsidian folder, Gemma 4 12b actually got the job done, and it took only 7 min! I need to build a learning guide and a project guide for learning about NestJS. The learning guide should be very thorough and reference the official docs (https://docs.nestjs.com/) when making the learning sections. The project guide should be a very easy and simple project that a new dev can do by just referencing the official docs and online forums. The goal for the project is to not use AI to build any of it, so please when creating the guide, make sure that each build step is very detailed on what the dev needs to do, so they aren't second guessing about the ambiguity. You are in my project directory now so I just need you to create these guides in the current folder and label them Version 2. Do not go outside of your requested tasks. I know some tools that will be used in my project (only if needed) are https://www.npmjs.com/package/quick-rag and https://www.npmjs.com/package/@qvac/rag so add those to the guides as well if they are useful. There are version 1 guides in the same folder if you need a reference. After the first attempts, I did think there was an issue with the model not being able to complete this simple task, but I realized that I was the error after running it in a newly created directory. THAT task only took just under 6 min, but I should note that the prompt was slightly different: I need to build a learning guide and a project guide for learning about NestJS. The learning guide should be very thorough and reference the official docs (https://docs.nestjs.com/) when making the learning sections. The project guide should be a very easy and simple project that a new dev can do by just referencing the official docs and online forums. The goal for the project is to not use AI to build any of it, so please when creating the guide, make sure that each build step is very detailed on what the dev needs to do, so they aren't second guessing about the ambiguity. You are in my project directory now so I just need you to create these guides in the current folder and label them Version 2. Do not go outside of you… Get full access to Digital Dopamine at digitaldopaminellc.substack.com/subscribe

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Building Learning + Project Guides for NestJS

0:00 29:17

No transcript yet.

Requests help us decide what to transcribe next.

Ələmdar Manafov Ələmdar Manafov Mən qarşıma çıxan suallara cavab axtarıram və hər kəs ilə paylaşıram. Sloqanım: Be Positive Sosial media hesablarım: Ələmdar Manafov INSTAGRAM və LİNKEDİN hesabı. Ələmdar Manafov known 8+ years Marketing Strategist | Branding & Digital Expert | Founder of Be Positive Company. He was born on 29th July, 1994 in Baku, Azerbaijan. Alamdar started his career at the age of 23 as a Social Media Advisor . He later started releasing his trainings on Social Platforms. He first released Personal Branding course in 2019.Alamdar is best known for his trainings on Instagram, Facebook. In November, 2020 Alamdar started to work with Big Companies. Then he created a YouTube channel which he uses for making videos and also to teach, provide tips, guide and help fellow Entrepreneurs to fit in the world. Hold The Line with Buck Sexton The First Digital Inc “Hold The Line with Buck Sexton” is Conservatism’s new command and control center. Former CIA Analyst and nationally syndicated radio host Buck Sexton is ready to stand athwart the progressive tidal wave. One of the movement’s fiercest “wartime conservatives”, Buck brings his unique perspective to America’s most pressing concerns, from domestic policy that values liberty to a foreign policy that puts American interests first. Hold The Line draws upon Buck’s encyclopedic knowledge of the issues, and his experience combatting America’s enemies abroad. Under assault on all fronts, Buck Sexton is ready to inspire viewers to take their place on the battlements and prepare to Hold The Line. The Brendan Ecker Influence Brendan Scott Ecker The Brendan Ecker Influence is hosted by Brendan Scott Ecker — a 27-year-old American entrepreneur, Michigan real estate agent, CEO of Gold Shark Media Ai, founder of PassRE USA, investor, law enforcement officer, former NCAA two-sport athlete, and author of Beyond the Beat and How I Made My Dorm My Office. Ecker went from a middle-class “Matrix” upbringing to building a fast-growing digital brand, scaling multiple businesses, and growing a YouTube channel with over 27,000 subscribers. With a background in Criminology, law enforcement, and competitive athletics, he blends discipline, strategy, and mindset into everything he teaches. On this podcast, Brendan breaks down the real frameworks behind wealth, business, real estate, marketing, AI, geopolitics, mindset, and personal growth. He discusses the journey in growing his businesses, documenting the wins, failures, and the tactical steps that helped him escape

Frequently asked questions

How long is this episode of Digital Dopamine?

This episode is 29 minutes long.

When was this Digital Dopamine episode published?

This episode was published on August 9, 2026.

Can I download this Digital Dopamine episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.