<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Manendra Verma on Medium]]></title>
        <description><![CDATA[Stories by Manendra Verma on Medium]]></description>
        <link>https://medium.com/@manendrav?source=rss-a16a3170c952------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*x9mG_uniQTGCkLQ8YKjjOA.jpeg</url>
            <title>Stories by Manendra Verma on Medium</title>
            <link>https://medium.com/@manendrav?source=rss-a16a3170c952------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 04:15:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@manendrav/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Setup Appwrite Storage with NestJS (Step-by-Step Guide)]]></title>
            <link>https://medium.com/@manendrav/setup-appwrite-storage-with-nestjs-step-by-step-guide-707721133ba9?source=rss-a16a3170c952------2</link>
            <guid isPermaLink="false">https://medium.com/p/707721133ba9</guid>
            <category><![CDATA[nestjs]]></category>
            <category><![CDATA[appwrite]]></category>
            <category><![CDATA[amazon-s3]]></category>
            <category><![CDATA[storage]]></category>
            <category><![CDATA[firebase]]></category>
            <dc:creator><![CDATA[Manendra Verma]]></dc:creator>
            <pubDate>Thu, 19 Mar 2026 14:43:49 GMT</pubDate>
            <atom:updated>2026-03-19T14:43:49.009Z</atom:updated>
            <content:encoded><![CDATA[<p>When building modern backend applications, handling file uploads efficiently is a must — whether it’s user profile images, documents, or media files. Instead of building storage systems from scratch, we can use <strong>Appwrite Storage</strong>, a powerful backend-as-a-service feature.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JumUdJraBYv9UWuNIKhIAw.png" /></figure><h3>Why Use Appwrite Storage?</h3><p>Before diving into implementation, here’s why Appwrite Storage is a solid choice:</p><ul><li>Built-in file storage with CDN support</li><li>Secure access control (permissions-based)</li><li>Easy SDK integration</li><li>Free tier available (great for students/projects)</li><li>Supports previews, downloads, and transformations</li></ul><h3>Step-by-Step Guide</h3><h3>Phase-1: Setup Appwrite Project</h3><h4>Step 1 — Create an Appwrite Project</h4><ol><li>Go to <a href="https://cloud.appwrite.io/">cloud.appwrite.io</a> and sign up / log in</li><li>Create a <strong>new project</strong> (e.g. “Neutter”)</li><li>Copy your <strong>Project ID</strong> from the project settings</li></ol><h4>Step 2 — Create a Storage Bucket</h4><ol><li>In the Appwrite console, go to <strong>Storage</strong> → <strong>Create Bucket</strong></li><li>Name it something like files</li><li>Set permissions:</li></ol><ul><li>For now, allow Any to <strong>read</strong> (so files can be viewed)</li><li>Allow Any to <strong>create</strong> (your server will upload on behalf of users)</li></ul><p>4. Copy the <strong>Bucket ID</strong></p><h4>Step 3 — Get an API Key</h4><ol><li>Go to <strong>Settings</strong> → <strong>API Keys</strong> → <strong>Create API Key</strong></li><li>Give it <strong>Storage</strong> permissions (read, write, delete)</li><li>Copy the <strong>API Key</strong></li></ol><h3>Phase-2: Setup NestJS Project</h3><h4>Step 1 — Create project</h4><pre>npm i-g @nestjs/cli<br>nest new backend<br>cd backend</pre><h4>Step 2 — Create Storage Module</h4><pre>nest g module AppwriteService<br>nest g service AppwriteService<br>nest g controller AppwriteService</pre><h4>Step 3 — Install the SDK</h4><pre>npm install node-appwrite<br>npm install multer<br>npm install --save-dev @types/multer</pre><h4>Step 4 — Add to your .env</h4><pre>APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1<br>APPWRITE_PROJECT_ID=your-project-id<br>APPWRITE_API_KEY=your-api-key<br>APPWRITE_BUCKET_ID=your-bucket-id</pre><h4>Step 4 — Configure Appwrite SDK</h4><pre>// appwrite.service.ts<br>import { Injectable } from &#39;@nestjs/common&#39;;<br>import { Client, Storage } from &#39;node-appwrite&#39;;<br><br>@Injectable()<br>export class AppwriteService {<br>  private client: Client;<br>  private storage: Storage;<br>  constructor() {<br>    this.client = new Client()<br>      .setEndpoint(&#39;https://&lt;REGION&gt;.cloud.appwrite.io/v1&#39;) // Replace with your Appwrite endpoint<br>      .setProject(&#39;&lt;PROJECT_ID&gt;&#39;)                           // Replace with your project ID<br>      .setKey(&#39;&lt;API_KEY&gt;&#39;);                                 // Replace with your API key<br>    this.storage = new Storage(this.client);<br>  }<br>  <br>  // add below wpload function here<br>}</pre><h4>Step 5 — Create Upload function</h4><pre>async uploadFile(file: Express.Multer.File) {<br>    try {<br>     const result = await this.storage.createFile(<br>      process.env.APPWRITE_BUCKET_ID!,<br>      ID.unique(),<br>      InputFile.fromBuffer(file.buffer, file.originalname)   // wraps buffer + filename<br>    );<br>     const fileUrl = `${process.env.APPWRITE_ENDPOINT}/storage/buckets/${process.env.APPWRITE_BUCKET_ID}/files/${result.$id}/preview?project=${process.env.APPWRITE_PROJECT_ID}`; <br>      return { <br>        message: &#39;File uploaded successfully&#39;, <br>        fileId: result.$id, <br>        url: fileUrl, <br>      };<br>      <br>    } catch (error) {<br>      throw new InternalServerErrorException(&#39;Failed to upload file&#39;);<br>    }<br>  }</pre><h4>Step 6 — Setup Controller</h4><pre>import {<br>  Controller,<br>  Post,<br>  UploadedFile,<br>  UseInterceptors,<br>} from &#39;@nestjs/common&#39;;<br>import { AppwriteServiceService } from &#39;./appwrite-service.service&#39;;<br>import { FileInterceptor } from &#39;@nestjs/platform-express&#39;;<br><br>@Controller(&#39;appwrite-service&#39;)<br>export class AppwriteServiceController {<br>  constructor(<br>    private readonly appwriteService: AppwriteService,<br>  ) {}<br>  @Post(&#39;upload&#39;)<br>  @UseInterceptors(FileInterceptor(&#39;file&#39;))<br>  async uploadFile(@UploadedFile() file: Express.Multer.File) {<br>    console.log(&quot;file dta:&quot;, file)<br>    return this.appwriteServiceService.uploadFile(file);<br>  }<br>}</pre><h4>Step 7 — Setup Configuration</h4><p>Depending on the environment, different configuration settings should be used.</p><pre>npm i --save @nestjs/config</pre><p>Now in app.module.ts</p><pre>import { Module } from &#39;@nestjs/common&#39;;<br>import { AppController } from &#39;./app.controller&#39;;<br>import { AppService } from &#39;./app.service&#39;;<br>import { AppwriteServiceModule } from &#39;./appwrite-service/appwrite-service.module&#39;;<br>import { ConfigModule } from &#39;@nestjs/config&#39;;<br><br>@Module({<br>  imports: [<br>    ConfigModule.forRoot({      // add this part<br>      isGlobal: true,<br>    }),<br>    AppwriteServiceModule],<br>  controllers: [AppController],<br>  providers: [AppService],<br>})<br>export class AppModule {}</pre><h4>Step 8 — Test is using postman</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*5wY6aXR5huVSDOt6uTJBiw.png" /></figure><h3>Final Thoughts</h3><p>Integrating Appwrite Storage with NestJS gives you a clean, scalable way to manage files without dealing with infrastructure complexity.</p><p>With just a few steps, you now have:</p><ul><li>File upload API</li><li>Secure storage</li><li>File preview links</li></ul><p>Integrating Appwrite Storage with NestJS is a practical and efficient way to handle file management in your backend applications. With just a few configurations, you can offload complex storage logic and focus more on building core features.</p><p>Using Appwrite not only simplifies file handling but also provides scalability, security, and ease of use — making it an excellent choice for modern full-stack development.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=707721133ba9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Biggest Mistake New Developers Make: Learning Too Many Technologies Too Fast]]></title>
            <link>https://medium.com/@manendrav/the-biggest-mistake-new-developers-make-learning-too-many-technologies-too-fast-fe5070258ba9?source=rss-a16a3170c952------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe5070258ba9</guid>
            <category><![CDATA[tech-stack]]></category>
            <category><![CDATA[mern-stack]]></category>
            <category><![CDATA[beginners-guide]]></category>
            <category><![CDATA[information]]></category>
            <category><![CDATA[advice]]></category>
            <dc:creator><![CDATA[Manendra Verma]]></dc:creator>
            <pubDate>Mon, 16 Mar 2026 15:18:10 GMT</pubDate>
            <atom:updated>2026-03-16T15:18:10.964Z</atom:updated>
            <content:encoded><![CDATA[<p>For a long time, I believed that the fastest way to grow as a developer was to learn as many technologies as possible.</p><p>React, Next.js, Node.js, new frameworks, new tools — every week there was something new to learn, and I kept jumping from one thing to another.</p><p>First React.<br>Then quickly Next.js.<br>Then something else that seemed trending.</p><p>Every time I saw a new tool, framework, or library, I felt like I needed to learn it immediately. I thought this was the fastest way to grow.</p><p>At first, it felt productive. I thought I was moving fast.</p><p>But over time I realized something important: I wasn’t actually getting good at any of them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZDhCVH5ayxQ0ddz7MyZxsg.png" /></figure><h3>The Problem with Switching Too Quickly</h3><p>When you switch technologies too often, you stay at the <strong>surface level</strong> of everything.</p><p>You understand the basics, maybe build a small project, and then move on. But you never get the chance to truly understand how things work under the hood.</p><p>This creates a dangerous illusion — you feel like you know many things, but in reality, your depth of knowledge is very limited.</p><p>For example, I started learning React and quickly switched to Next.js. Now I’m not truly confident in either of them.</p><p>I knew a little React, a little Next.js, a little backend, a little DevOps — but not enough depth to confidently build complex things or stand out in interviews.</p><h3>The AI Reality</h3><p>Today, AI tools can already help with many <strong>basic coding tasks</strong>.</p><p>AI tools handling many basic tasks like boilerplate code, simple components, and setup, knowing just the basics of many technologies isn’t enough anymore.</p><p>If AI can already help with the basics, then the real value of a developer is not knowing surface-level syntax. The real value comes from:</p><ul><li>Understanding core concepts deeply</li><li>Solving complex problems</li><li>Designing good architecture</li><li>Debugging real-world issues</li></ul><p>If I had spent 3–4 months focusing deeply on just one stack — understanding it properly, building real projects, debugging problems, and learning the ecosystem — I would probably be much more skilled today.</p><h3>Depth Beats Breadth (Especially Early in Your Career)</h3><p>Early in your journey, depth matters much more than breadth.</p><p>Once you become strong in one stack, learning another becomes significantly easier. Many concepts transfer across frameworks and languages.</p><ul><li>Depth builds confidence.</li><li>Depth builds real problem-solving ability.</li><li>Depth makes you valuable.</li></ul><p>But without depth in at least one technology, everything feels confusing and fragmented.</p><h3>Advice for Beginners</h3><p>If you’re starting your development journey, here’s a simple piece of advice I wish someone had given me earlier:</p><p><strong>Don’t chase every new technology.</strong></p><p><strong>Instead:</strong></p><ul><li>Learn how it works internally.</li><li>Build real projects.</li><li>Understand performance and architecture.</li><li>Debug difficult problems.</li><li>Contribute to real applications.</li></ul><p>Only after you feel confident should you start exploring other tools.</p><h3>Final Thoughts</h3><p>The tech world moves fast, and it’s easy to feel like you’re falling behind if you’re not constantly learning something new.</p><p>But real growth often comes from <strong>slowing down and going deeper</strong>, not from rushing to the next shiny tool.</p><p>So, if you’re learning to code right now, here’s my advice:</p><p><strong>Don’t rush to learn everything.<br>Pick one stack.<br>Go deep.<br>Get really good at it.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe5070258ba9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Run OpenClaw Locally Using LM Studio (OpenClaw + LM Studio)]]></title>
            <link>https://medium.com/@manendrav/how-to-run-openclaw-locally-using-lm-studio-openclaw-lm-studio-52d5c8500f02?source=rss-a16a3170c952------2</link>
            <guid isPermaLink="false">https://medium.com/p/52d5c8500f02</guid>
            <category><![CDATA[clawdbot]]></category>
            <category><![CDATA[qwen]]></category>
            <category><![CDATA[setup]]></category>
            <category><![CDATA[lm-studio]]></category>
            <category><![CDATA[openclaw]]></category>
            <dc:creator><![CDATA[Manendra Verma]]></dc:creator>
            <pubDate>Tue, 10 Mar 2026 13:42:58 GMT</pubDate>
            <atom:updated>2026-03-10T13:42:58.851Z</atom:updated>
            <content:encoded><![CDATA[<p>This article explains how you can set up OpenClaw<strong> locally using LM Studio</strong> and run it on your own machine without relying on paid APIs.</p><p>By connecting OpenClaw to LM Studio, you can use local AI models to test and perform basic development tasks while keeping everything private and under your control.</p><p>Since everything runs on your own machine, you get full control and privacy over your data. I tested this setup myself and it works well for experimentation and learning.</p><h3>Quick Reminder:</h3><ul><li>This setup is mainly <strong>for testing and basic tasks</strong>.</li><li>Running AI models locally requires a <strong>decent system</strong> with good CPU or GPU performance.</li><li>You should have <strong>at least 16 GB RAM</strong> (32 GB recommended for smoother performance).</li><li>For complex tasks, a system with <strong>strong GPU or higher CPU power</strong> will work much better.</li><li>The setup is <strong>completely free</strong>, but remember that the model runs on <strong>your own system resources</strong>.</li></ul><p>Before starting, it’s important to understand the limitations and requirements of running everything locally.</p><h3>Minimum Hardware (Basic Setup)</h3><p>This will run <strong>7B models like Qwen2.5-Coder-7B-Instruct</strong>.</p><ul><li><strong>CPU:</strong> modern 4–6 core CPU (Intel i5 / Ryzen 5 or better)</li><li><strong>RAM: 16 GB</strong> recommended</li><li><strong>Storage:</strong> <strong>10–20 GB free space</strong></li><li><strong>GPU:</strong> optional (can run on CPU)</li></ul><p><strong>Performance:</strong></p><ul><li><strong>speed:</strong> ~5–10 tokens/sec on CPU</li><li><strong>usage: </strong>good for chat and testing agents</li></ul><h3>Recommended Hardware (Smooth Experience)</h3><p>For faster inference and multiple tools.</p><ul><li><strong>CPU:</strong> 8+ core processor (Ryzen 7 / i7)</li><li><strong>RAM:</strong> <strong>32 GB</strong></li><li><strong>GPU: 8–12 GB VRAM</strong> (RTX 3060 / 4060 / 4070)</li><li><strong>Storage:</strong> <strong>SSD required</strong></li></ul><p><strong>Performance:</strong></p><ul><li><strong>speed: </strong>20–60 tokens/sec</li><li><strong>latency:</strong> much lower</li><li><strong>agent tasks:</strong> smoother</li></ul><h3>Step By Step Guide:</h3><h3>Phase-1 — Install LM Studio</h3><p>LM Studio runs the local model.</p><ol><li>Go to the official website <a href="https://lmstudio.ai/">https://lmstudio.ai</a></li><li>Download <strong>LM Studio for Windows</strong></li><li>Install normally.</li><li>Open <strong>LM Studio</strong></li></ol><h3>Phase-2 — Download a model</h3><p>Inside LM Studio Go to:</p><pre>Left sidebar -&gt; Model Search (4th icon)</pre><p><strong>Example search:</strong></p><pre>Qwen2.5-Coder-7B-Instruct</pre><p><strong>NOTE</strong>: Just above the download button you can select the Quantization of the model</p><h3>Step-2.1: How to select the Right Model</h3><p>Selecting the <strong>best model in LM Studio</strong> depends on several technical factors: <strong>hardware capacity, task type, model size, and quantization</strong>.</p><h4>1. Check Your Hardware First:</h4><p>Your <strong>RAM and GPU VRAM</strong> determine what models can run efficiently.</p><p><strong>Typical guidelines:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*lIixHB03y5vVa8ePslHxCw.png" /></figure><h4>Meaning of the “B”</h4><pre>B = Billion</pre><p><strong>Examples:</strong></p><pre>7B  = 7 Billion parameters<br>6.7B = 6.7 Billion parameters<br>34B = 34 Billion parameters<br>70B = 70 Billion parameters</pre><p>So a <strong>7B model</strong> has about <strong>7,000,000,000 parameters</strong>.</p><pre>Example Model Sizes:<br><br>Small models<br>1B – 3B<br>Fast but weaker reasoning<br><br>Medium models<br>7B – 8B<br>Good balance of speed and intelligence<br><br>Large models<br>13B – 34B<br>Much smarter but need strong hardware<br><br>Very large models<br>70B+<br>Need powerful GPUs or servers</pre><h3>2. Choose Model Based on Task</h3><p>Different models are trained for different tasks.</p><h4>Coding</h4><p>Best model types:</p><pre>Qwen2.5-Coder<br>DeepSeek-Coder<br>CodeLlama</pre><h4>Content Writing / Chat</h4><pre>Llama 3.1<br>Mistral<br>Qwen2.5</pre><h4>Reasoning / Agents</h4><pre>DeepSeek-R1 Distill<br>Qwen2.5<br>Ministral</pre><h3>3. Pick the Right Quantization</h3><p>Quantization controls <strong>memory usage vs quality</strong>.</p><p><strong>Common options:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/579/1*Z_qbrM62Na5t7CU5Ob602A.png" /></figure><p>Best default choice:</p><pre>Q4_K_M</pre><ul><li>quality: very good</li><li>speed: fast</li><li>memory: manageable</li></ul><h3>4. Choose Trusted Model Publishers</h3><p>The same model can appear from multiple uploaders.</p><p><strong>Prefer models published by:</strong></p><pre>Llama family<br>Qwen family<br>Mistral family<br>DeepSeek family</pre><h3>Phase-3 — Load the Model in LM Studio</h3><p>In the server panel click:</p><pre>Load Model</pre><p>Select your downloaded model.</p><p>Once loaded you should see it listed under:</p><pre>Loaded Models</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GvY4SNdpeXo1CRjMi0DrOw.png" /></figure><p><strong>NOTE:</strong> Must enable (Manually choose model load parameters)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/937/1*iskEZA3BQ6Xw-I0tThHDhQ.png" /></figure><p>Put context length low as possible because it will affect response time.</p><ul><li><strong>Low context length </strong>→ Fast response but loose accuracy</li><li><strong>High context length</strong> → Slow response but high accuracy</li><li><strong>GPU offloading </strong>decides <strong>how many of those layers run on the GPU instead of the CPU</strong>.</li></ul><p>If your system <strong>has no GPU</strong>, set:</p><pre>GPU Offload = 0</pre><p>If GPU offload = <strong>0 layers</strong>: CPU does all calculations.</p><p>LLMs are built with <strong>layers</strong> (like 32–40 layers depending on the model).</p><p><strong>Example</strong>:</p><pre>Total layers in model = 32</pre><p>If you set:</p><pre>GPU Offload = 10</pre><p>Then:</p><pre>10 layers → GPU<br>22 layers → CPU</pre><p>So the workload is shared.</p><h3>Phase-4 — Start LM Studio Local API Server</h3><h4>1. Open LM Studio</h4><p>Launch <strong>LM Studio</strong> on your computer.</p><h4>2. Open Developer Settings</h4><p>Look at the <strong>left sidebar:</strong> usually (third icon from the top)</p><p>In your sidebar click the icon that looks like:</p><pre>&gt;_</pre><p>This is the <strong>Developer / API panel</strong>.</p><h4>3. Open the Local Server Panel</h4><p>first option in in Developer sidebar</p><h4>4. Keep Server Setting like this</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*pqzDZ7iFGkv6tcZnQAyt6Q.png" /></figure><h4>5. Start the Server</h4><p>Click:</p><pre>toggle the button before server setting</pre><p>You should see:</p><pre>Server running at URL comes next to it check it.</pre><p>Open browser:</p><pre>http://localhost:1234/v1/models<br>or<br>http://172.25.64.1:1234/v1/models</pre><p>If you see JSON with your model → LM Studio is working.</p><p>Example response:</p><pre>{<br>  &quot;data&quot;: [<br>    {<br>      &quot;id&quot;: &quot;qwen2.5-coder-7b-instruct&quot;,<br>      &quot;object&quot;: &quot;model&quot;,<br>      &quot;owned_by&quot;: &quot;organization_owner&quot;<br>    },<br>    {<br>      &quot;id&quot;: &quot;text-embedding-nomic-embed-text-v1.5&quot;,<br>      &quot;object&quot;: &quot;model&quot;,<br>      &quot;owned_by&quot;: &quot;organization_owner&quot;<br>    }<br>  ],<br>  &quot;object&quot;: &quot;list&quot;<br>}</pre><h3>Phase-5 — Install OpenClaw</h3><p>OpenClaw requires Node.js 22 as a prerequisite. Don’t worry — installation is automated.</p><h4><strong>Universal Installation (All Platforms):</strong></h4><p>Open your terminal/command prompt and run this single command:</p><pre>curl -fsSL https://openclaw.ai/install.sh | bash</pre><p>If that doesn’t work, or you’re on Windows PowerShell, use:</p><pre>iwr -useb https://openclaw.ai/install.ps1 | iex</pre><h4>Open PowerShell as Administrator:</h4><ul><li>If install as admin then it will automatically configure the gateway.</li><li>If it asks anywhere Remote or Local, then set it as local.</li></ul><h3>Phase-6 — Configure OpenClaw to Use LM Studio</h3><p>After running make sure, you select like these:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/417/1*RlwA_pN9CLYAV1arVTrH7A.png" /></figure><p>Other things you can select skip for now option, or you can setup later any of those you want to. I’ll setup later.</p><p>You get base URL and LLM model from the right sidebar of LM studio in info tab. Use yours not copy paste it. you can only use the API KEY as same as mine.</p><p>You will asked about following field: (here what I select)</p><pre>Default model: Keep current (vllm/qwen2.5-coder-7b-instruct)<br>Channel status: skip for now<br>Search provider: Skip for now<br>Configure skills now?: No<br>Enable hooks? No<br>Optional apps: skip for now<br>Control UI: Web UI</pre><h3>Phase-7 — Run OpenClaw</h3><p>After completion of above command you get a URL like this:</p><pre>http://127.0.0.1:18789/#token=YOUR-Token</pre><p>Now copy the URL and paste it any browser search bar. You get the chat interface like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9CeGkBCIa0e_XJquu4Rf-g.png" /></figure><p>Now you can use the OpenClaw here.</p><p>Or, you can run using command:</p><pre>openclaw gateway</pre><h3>Phase-8 — Now if you want to remove clawbot from the system entirely</h3><p>For security reasons if you don’t want to use claw bot follow following steps to remove clawbot from the system:</p><h4>Step-1: Stop the Running Server</h4><p>If OpenClaw is running in the terminal:</p><pre>Ctrl + C</pre><h4>Step-2: Delete the OpenClaw Project Folder</h4><p>Go to the following path:</p><pre>C:\Users\youname</pre><p>Delete the .openclaw folder.</p><p>Now, Work is not done yet. You have to delete packages too.</p><h4>Step-3: Remove Global Packages</h4><p>Check global packages:</p><pre>npm list -g --depth=0</pre><p>If you see something like:</p><pre>openclaw</pre><p>remove it:</p><pre>npm uninstall -g openclaw</pre><p>Usually, this step is <strong>not required</strong> because OpenClaw runs locally.</p><h4>Step-4: Remove Local Models</h4><p>If you downloaded models for <strong>LM Studio</strong>, they are stored separately.</p><p>Location (Windows):</p><pre>C:\Users\&lt;your-user&gt;\.lmstudio\models</pre><p>Delete models if you want to free space.</p><h4>Step-5: Clear Node Cache (Optional)</h4><p>This step is optional but removes leftover npm cache.</p><pre>npm cache clean --force</pre><p><strong>Reminder:</strong></p><ul><li>It is only for testing and perform basic tasks.</li><li>You need large system which has more GPU or CPU power to perform complex task.</li><li>This is entirely free so you can use it but keep in mind that it is using your system resources to run.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CMXb2O29Cu-Fb4edezKXfw.png" /></figure><p>— — — 📄 Document Ends Here. Thanks for Reading!!! 🎉 — — —</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=52d5c8500f02" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Setup NestJS with Prisma and PostgreSQL (2026 Complete Guide)]]></title>
            <link>https://medium.com/@manendrav/how-to-set-up-nestjs-with-prisma-and-postgresql-2026-complete-guide-94b126c56a69?source=rss-a16a3170c952------2</link>
            <guid isPermaLink="false">https://medium.com/p/94b126c56a69</guid>
            <category><![CDATA[nestjs-tutorial]]></category>
            <category><![CDATA[nestjs]]></category>
            <category><![CDATA[backend-development]]></category>
            <category><![CDATA[postgresql]]></category>
            <category><![CDATA[prisma-setup]]></category>
            <dc:creator><![CDATA[Manendra Verma]]></dc:creator>
            <pubDate>Tue, 03 Mar 2026 14:03:01 GMT</pubDate>
            <atom:updated>2026-03-03T14:14:22.032Z</atom:updated>
            <content:encoded><![CDATA[<p>Setting up a scalable backend with <strong>NestJS</strong>, <strong>Prisma v7</strong>, and <strong>PostgreSQL</strong> is a powerful choice for modern applications.</p><p>In this guide, I’ll walk you through the complete setup process — from creating a NestJS project to connecting Prisma with PostgreSQL and testing everything.</p><p>Let’s get started 👇</p><h3>Step-1: Create NestJS Project</h3><p>Install the NestJS CLI and create a new project:</p><pre>npm install -g @nestjs/cli</pre><pre>nest new nestjs-prisma</pre><p>When prompted, select <strong>npm</strong> as your package manager. Navigate to the project directory:</p><pre>cd nestjs-prisma</pre><h3>Step-2: Setup Prisma</h3><p>Install Dependencies: Install the necessary Prisma packages and database drivers:</p><pre>npm install prisma --save-dev</pre><pre>npm install @prisma/client @prisma/adapter-pg pg</pre><h3>Step-2.1: Initialize Prisma</h3><p>Initialize Prisma in your project:</p><pre>npx prisma init --output ../src/generated/prisma</pre><p>It will also set the client output from &quot;../generated/prisma” to “../src/generated/prisma”</p><h3>Step-2.2: Set the generator output path</h3><p><strong>Note:</strong> Specify your output path for the generated Prisma client by either passing --output ../src/generated/prisma during prisma init</p><pre>generator client {<br>  provider = &quot;prisma-client&quot;<br>  output   = &quot;../src/generated/prisma&quot;<br>}</pre><h3>Step-2.3: Configure the module format <a href="https://docs.nestjs.com/recipes/prisma#configure-the-module-format">#</a></h3><pre>generator client {<br>  provider        = &quot;prisma-client&quot;<br>  output          = &quot;../src/generated/prisma&quot;<br>  moduleFormat    = &quot;cjs&quot;<br>}</pre><p>Note: The moduleFormat configuration is required because Prisma v7 ships as an ES module by default, which does not work with NestJS&#39;s CommonJS setup. Setting moduleFormat to cjs forces Prisma to generate a CommonJSmodule instead of ESM.</p><h3>Step-3: Configure PostgreSQL Connection</h3><p>Edit .env</p><pre>DATABASE_URL=&quot;postgresql://postgres:password@localhost:5432/nestdb?schema=public&quot;</pre><h3>Step-4: Define your data model</h3><p>Add the following two models to your schema.prisma file:</p><pre>model User {<br>  id    Int     @id @default(autoincrement())<br>  email String  @unique<br>  name  String?<br>  posts Post[]<br>}<br>model Post {<br>  id        Int      @id @default(autoincrement())<br>  title     String<br>  content   String?<br>  published Boolean? @default(false)<br>  author    User?    @relation(fields: [authorId], references: [id])<br>  authorId  Int?<br>}</pre><h3>Step-5: Run Migration</h3><pre>npx prisma migrate dev --name init</pre><h3>Step-6: Generate Prisma Client</h3><p>Once installed, you can run the generate command to generate the types and Client needed for your project.</p><pre>npx prisma generate</pre><h3>Step-7: Create a Prisma service</h3><pre>nest g module prisma</pre><pre>nest g service prisma</pre><p>Inside the src directory, create a new file called prisma.service.ts and add the following code to it:</p><pre>import { Injectable } from &quot;@nestjs/common&quot;;<br>import { PrismaClient } from &quot;../generated/prisma/client.js&quot;;<br>import { PrismaPg } from &quot;@prisma/adapter-pg&quot;;<br><br>@Injectable()<br>export class PrismaService extends PrismaClient {<br>  constructor() {<br>    const adapter = new PrismaPg({<br>      connectionString: process.env.DATABASE_URL as string,<br>    });<br>    super({ adapter });<br>  }<br>}</pre><h3>Step-8: Register services in the app module (Optional)</h3><p>Remember to register the new services in the app module.</p><p>Optional: If you create a module for prisma service. Otherwise paste below code.</p><pre>import { Module } from &#39;@nestjs/common&#39;;<br>import { AppController } from &#39;./app.controller&#39;;<br>import { AppService } from &#39;./app.service&#39;;<br>import { PrismaService } from &#39;./prisma/prisma.service&#39;;<br><br>@Module({<br>  imports: [PrismaModule],<br>  controllers: [AppController],<br>  providers: [AppService, PrismaService],<br>})<br>export class AppModule {}</pre><h3>Step-9: Test Setup</h3><pre>npm run start<br>or<br>npm run start:dev</pre><h3>Step-10: Create services</h3><p>Now create services and use it like you do in normal Nest app.</p><p>— — — 📄 Document End 🎉 — — —</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=94b126c56a69" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Setup Prisma v7 with PostgreSQL in Node.js (2026)]]></title>
            <link>https://medium.com/@manendrav/how-to-setup-prisma-v7-with-postgresql-in-node-js-2026-a187f749dac4?source=rss-a16a3170c952------2</link>
            <guid isPermaLink="false">https://medium.com/p/a187f749dac4</guid>
            <category><![CDATA[setup-prisma-v7-orm]]></category>
            <category><![CDATA[how-to-setup-prisma-v7]]></category>
            <category><![CDATA[prisma-v7-setup-guide]]></category>
            <category><![CDATA[how-to-configure-prisma]]></category>
            <category><![CDATA[prisma-v7-with-postgresql]]></category>
            <dc:creator><![CDATA[Manendra Verma]]></dc:creator>
            <pubDate>Fri, 27 Feb 2026 19:48:42 GMT</pubDate>
            <atom:updated>2026-02-27T19:48:42.278Z</atom:updated>
            <content:encoded><![CDATA[<p>Prisma ORM just released <strong>version 7</strong>, and this update introduces several important breaking changes — especially around ES Modules, the new Rust-free Prisma Client, and database adapters.</p><p>Step-by-step tutorial to configure Prisma v7 ORM with PostgreSQL for modern backend development.</p><p>Phase-by-Phase Guide:</p><h3>Phase-A: Create a new project</h3><ol><li>Initialize an empty Node.js project</li></ol><pre>npm init -y</pre><p>2. Add dependencies</p><pre>npm install typescript tsx @types/node --save-dev</pre><p>3. Initialize typescript</p><pre>npx tsc --init</pre><p>it will generate tsconfig.ts file</p><p><strong>Note:</strong> Create a /src folder. (Must to do)</p><p>Create folders:</p><pre>mkdir src<br>touch src/index.ts</pre><h3>Phase-B: Setup Prisma</h3><h4>Step-1: Install Prisma CLI:</h4><pre>npm install prisma @types/pg --save-dev</pre><h4>Step-2: Install Prisma Client:</h4><p>Install the Prisma Client library.</p><pre>npm install @prisma/client @prisma/adapter-pg pg dotenv</pre><p>Update package.json to enable ESM:</p><pre>{<br>  &quot;type&quot;: &quot;module&quot;<br>}</pre><h4>Step-3: Initialize a fresh prisma project</h4><pre>npx prisma init</pre><p>This command does a few things:</p><ul><li>Creates a prisma/ directory with a schema.prisma file containing your database connection and schema models</li><li>Creates a .env file in the root directory for environment variables</li><li>Creates a prisma.config.ts file for Prisma configuration</li></ul><pre>prisma/<br>   schema.prisma</pre><p>The generated prisma.config.ts file looks like this:</p><pre>// This file was generated by Prisma, and assumes you have installed the following:<br>// npm install --save-dev prisma dotenv<br>import &quot;dotenv/config&quot;;<br>import { defineConfig } from &quot;prisma/config&quot;;<br>export default defineConfig({<br>  schema: &quot;prisma/schema.prisma&quot;,<br>  migrations: {<br>    path: &quot;prisma/migrations&quot;,<br>  },<br>  datasource: {<br>    url: process.env[&quot;DATABASE_URL&quot;],   // update this part<br>  },<br>});</pre><p>Update the <strong>datasource</strong> part like this:</p><pre>import &quot;dotenv/config&quot;;<br>import { defineConfig, env } from &quot;prisma/config&quot;;<br>export default defineConfig({<br>  schema: &quot;prisma/schema.prisma&quot;,<br>  migrations: {<br>    path: &quot;prisma/migrations&quot;,<br>  },<br>  datasource: {<br>    url: env(&quot;DATABASE_URL&quot;),      // updated part<br>  },<br>});</pre><h4>Step-4: Configure Database</h4><pre>DATABASE_URL = &quot;postgres://postgres_user:password@localhost:5432/database_name&quot;</pre><h3>Phase-C: Define your data model</h3><h4>Step-1: Open and add</h4><pre>prisma/schema.prisma</pre><pre>model User { <br>  id    Int     @id @default(autoincrement()) <br>  email String  @unique<br>  name  String?<br>  posts Post[]<br>} <br><br>model Post { <br>  id        Int     @id @default(autoincrement()) <br>  title     String<br>  content   String?<br>  published Boolean @default(false) <br>  author    User    @relation(fields: [authorId], references: [id]) <br>  authorId  Int<br>}</pre><h4>Step-2: Create and apply your first migration</h4><p>Create your first migration to set up the database tables: (sync your schema with the database)</p><pre>npx prisma migrate dev --name init</pre><p>When second time you run migration:</p><pre>npx prisma migrate dev --name migration_name<br><br>// Example: after making changes in shcema <br>npx prisma migrate dev --name added_createdat_field</pre><p>It will regenerate the new schema</p><h3>Phase-D: Generate Prisma Client</h3><p>Now run the following command to generate the Prisma Client:</p><p><strong>Purpose:</strong> Generate Prisma Client from your schema.</p><pre>npx prisma generate</pre><h3>Phase-E: Instantiate Prisma Client</h3><p>This is the <strong>NEW Prisma adapter-based setup</strong>. It is <strong>not the same as the old standard way</strong>:</p><p>Create a /src/lib/prisma.ts:</p><pre>src/<br>   lib/<br>      prisma.ts</pre><pre>import { PrismaPg } from &quot;@prisma/adapter-pg&quot;;<br>import { PrismaClient } from &quot;../generated/prisma/client&quot;;<br><br>const adapter = new PrismaPg({<br> connectionString: process.env.DATABASE_URL<br>});<br>const prisma = new PrismaClient({ adapter });<br>export { prisma };</pre><h3>Phase-F: Write your first query</h3><p>Create a index.ts file to test your setup:</p><pre>import { prisma } from &quot;./lib/prisma.js&quot;;</pre><pre>async function main() {<br> const users = await prisma.user.findMany();<br> console.log(users);<br>}</pre><pre>main()<br>  .then(async () =&gt; {<br>    await prisma.$disconnect();<br>  })<br>  .catch(async (e) =&gt; {<br>    console.error(e);<br>    await prisma.$disconnect();<br>    process.exit(1);<br>  });</pre><p>Run the script:</p><pre>npx tsx ./src/index.ts</pre><p>— — — 📄 Document End 🎉 — — -</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a187f749dac4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Actually Learn Backend in 2026]]></title>
            <link>https://medium.com/@manendrav/how-to-actually-learn-backend-in-2026-c68594579f8d?source=rss-a16a3170c952------2</link>
            <guid isPermaLink="false">https://medium.com/p/c68594579f8d</guid>
            <dc:creator><![CDATA[Manendra Verma]]></dc:creator>
            <pubDate>Fri, 06 Feb 2026 15:42:04 GMT</pubDate>
            <atom:updated>2026-02-06T15:42:04.663Z</atom:updated>
            <content:encoded><![CDATA[<p>When people start learning backend development, one of the most common mistakes they make is <strong>getting attached to a single programming language or framework</strong>. They think learning <em>Node.js</em>, <em>Django</em>, or <em>Spring Boot</em> means they are learning backend development.</p><p>Real backend development is not about a specific language.<br>It’s about understanding <strong>core backend concepts</strong> that remain the same across all technologies.</p><h3>Backend Is About Concepts, Not Syntax</h3><p>If you look closely, most backend systems — no matter what language they are written in — share the same core ideas.</p><p>Things like:</p><ul><li><strong>Authentication</strong></li><li><strong>Validation</strong></li><li><strong>Middleware</strong></li><li><strong>Database interactions</strong></li><li><strong>Error handling</strong></li><li><strong>API design</strong></li></ul><p>These concepts exist everywhere.</p><p>Whether you are using Node.js, Java, Python, Go, or PHP, you will always need to:</p><ul><li>Authenticate users</li><li>Validate incoming data</li><li>Protect routes</li><li>Handle errors gracefully</li><li>Structure your application logically</li></ul><p>The <strong>syntax changes</strong>, but the <strong>thinking does not</strong>.</p><h3>Just Learn Like Learning Programming Fundamentals</h3><p>Think about how we learn programming languages.</p><p>When you first learned to code, you didn’t memorize just JavaScript or C++ syntax. You learned:</p><ul><li>What is Variables and we are using it</li><li>What is Functions</li><li>What is Conditions and how it work</li><li>What is Loops</li><li>What is Data structures</li></ul><p>These ideas are common to almost every programming language. Once you understand them, switching from one language to another becomes easier because only the syntax changes.</p><p>Backend development works the same way.</p><h3>Focus on What, How, and When</h3><p>To truly master backend development, shift your learning approach:</p><ul><li><strong>What</strong> is authentication and authorization?</li><li><strong>How</strong> does request–response flow work?</li><li><strong>When</strong> should middleware be used?</li><li><strong>Why</strong> is validation necessary at multiple layers?</li></ul><p>When you focus on <strong>how these systems function</strong>, you start seeing patterns that apply everywhere. That’s when backend development truly makes sense.</p><h3>Transferable Knowledge Is Real Power</h3><p>When you learn backend as a set of concepts:</p><ul><li>You can switch frameworks faster</li><li>You can read large backend codebases with confidence</li><li>You can debug issues more effectively</li><li>You don’t feel lost when the stack changes</li></ul><p>A developer who understands backend fundamentals can jump from Express to Django or from Spring Boot to Go-based services without starting from zero.</p><h3>Learn Backend the Right Way</h3><p>So if you’re learning backend:</p><ul><li>Don’t just follow tutorials blindly</li><li>Don’t tie your identity to a single framework</li><li>Focus on <strong>why</strong> something exists, not just <strong>how to write it</strong></li></ul><p>Learn backend in a way that your knowledge becomes <strong>portable</strong>, <strong>scalable</strong>, and <strong>future-proof</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c68594579f8d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>