<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Asier Larruscain</title>
    <description>The latest articles on DEV Community by Asier Larruscain (@asier_larruscain_509eef99).</description>
    <link>https://dev.to/asier_larruscain_509eef99</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4106490%2F295b9506-5742-4836-aee1-1f87ba592858.jpg</url>
      <title>DEV Community: Asier Larruscain</title>
      <link>https://dev.to/asier_larruscain_509eef99</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/asier_larruscain_509eef99"/>
    <language>en</language>
    <item>
      <title>How I Built a Mental Health Website with Django, AWS and Vanilla JavaScript</title>
      <dc:creator>Asier Larruscain</dc:creator>
      <pubDate>Wed, 02 Sep 2026 15:54:47 +0000</pubDate>
      <link>https://dev.to/asier_larruscain_509eef99/how-i-built-a-mental-health-website-with-django-aws-and-vanilla-javascript-4m6e</link>
      <guid>https://dev.to/asier_larruscain_509eef99/how-i-built-a-mental-health-website-with-django-aws-and-vanilla-javascript-4m6e</guid>
      <description>&lt;p&gt;I'm a psychologist, not a software engineer.&lt;/p&gt;

&lt;p&gt;A few years ago, if I wanted to change something on my website, automate a process, or build a new feature, I would have needed to ask a developer.&lt;/p&gt;

&lt;p&gt;I decided to take a different approach: learn enough web development to build and maintain the project myself.&lt;/p&gt;

&lt;p&gt;The result is &lt;a href="https://supera-tu-ansiedad.es/" rel="noopener noreferrer"&gt;Supera tu Ansiedad&lt;/a&gt;, a Spanish mental health website focused on anxiety, where I publish evidence-based educational content, practical resources and offer access to online psychological therapy.&lt;/p&gt;

&lt;p&gt;Today, the website runs on a stack built around &lt;strong&gt;Python, Django, AWS, HTML, CSS and vanilla JavaScript&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This is what I learned building it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Django?
&lt;/h2&gt;

&lt;p&gt;My first major decision was choosing the backend.&lt;/p&gt;

&lt;p&gt;I wanted something that:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;could grow with the website&lt;/li&gt;
&lt;li&gt;had a mature ecosystem&lt;/li&gt;
&lt;li&gt;handled content dynamically&lt;/li&gt;
&lt;li&gt;allowed me to automate repetitive tasks&lt;/li&gt;
&lt;li&gt;didn't force me to reinvent basic web functionality&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Django ended up being a great fit.&lt;/p&gt;

&lt;p&gt;One of the things I appreciate most about Django is how much functionality is already structured for you.&lt;/p&gt;

&lt;p&gt;Instead of assembling many independent tools, I could progressively learn how models, views, templates, URLs and other parts of the application worked together.&lt;/p&gt;

&lt;p&gt;For someone coming from psychology rather than computer science, that structure helped enormously.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keeping the frontend simple
&lt;/h2&gt;

&lt;p&gt;For the frontend I decided not to use React, Vue or another JavaScript framework.&lt;/p&gt;

&lt;p&gt;The website mainly uses:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HTML&lt;/li&gt;
&lt;li&gt;CSS&lt;/li&gt;
&lt;li&gt;vanilla JavaScript&lt;/li&gt;
&lt;li&gt;Django templates&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For this particular project, that has been enough.&lt;/p&gt;

&lt;p&gt;Most pages are content-heavy psychology resources, so I don't need a large client-side application.&lt;/p&gt;

&lt;p&gt;JavaScript is added when interaction is actually useful rather than being the foundation of the website.&lt;/p&gt;

&lt;p&gt;This keeps the architecture relatively simple and gives me direct control over what is happening in the browser.&lt;/p&gt;

&lt;p&gt;It has also taught me an important lesson:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;You don't necessarily need a JavaScript framework to build a useful production website.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The right stack depends on the problem you're trying to solve.&lt;/p&gt;

&lt;h2&gt;
  
  
  Going serverless with AWS and Zappa
&lt;/h2&gt;

&lt;p&gt;The application is deployed using AWS and Zappa.&lt;/p&gt;

&lt;p&gt;Zappa makes it possible to run Django using AWS Lambda, which was an interesting architecture for a relatively small independent project.&lt;/p&gt;

&lt;p&gt;My infrastructure also uses AWS services for things such as static files, distribution and automation.&lt;/p&gt;

&lt;p&gt;This was probably the steepest part of the learning curve.&lt;/p&gt;

&lt;p&gt;Building something locally is one thing.&lt;/p&gt;

&lt;p&gt;Understanding deployments, cloud infrastructure, permissions, caching and production errors is another.&lt;/p&gt;

&lt;p&gt;But learning those pieces gradually gave me much more control over the project.&lt;/p&gt;

&lt;h2&gt;
  
  
  Python beyond the website itself
&lt;/h2&gt;

&lt;p&gt;One of the biggest advantages of choosing Python is that I can use it for much more than Django.&lt;/p&gt;

&lt;p&gt;As the website grew, I started creating small automations around it.&lt;/p&gt;

&lt;p&gt;For example, I use automation to help with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;website maintenance&lt;/li&gt;
&lt;li&gt;SEO analysis&lt;/li&gt;
&lt;li&gt;detecting potential problems&lt;/li&gt;
&lt;li&gt;processing data&lt;/li&gt;
&lt;li&gt;repetitive administrative tasks&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is where programming became particularly valuable to me.&lt;/p&gt;

&lt;p&gt;Instead of only asking:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"How do I build this page?"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I started asking:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Why am I doing this manually every week?"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If something follows predictable rules, there is often an opportunity to automate at least part of it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Building software as a non-developer
&lt;/h2&gt;

&lt;p&gt;The most interesting part of this project has probably been learning software development without trying to become a software engineer.&lt;/p&gt;

&lt;p&gt;My goal is still psychology.&lt;/p&gt;

&lt;p&gt;Programming is a tool that allows me to build things around my professional work.&lt;/p&gt;

&lt;p&gt;That changes the way I approach development.&lt;/p&gt;

&lt;p&gt;I don't need to know everything about Python, JavaScript or AWS. I need to understand them well enough to solve the problems my project actually has.&lt;/p&gt;

&lt;p&gt;That project-based approach has worked extremely well for me.&lt;/p&gt;

&lt;p&gt;Every real problem gives me a reason to learn the next concept.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I would recommend to other non-developers
&lt;/h2&gt;

&lt;p&gt;If you're learning programming from another profession, my biggest recommendation would be:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Build something you genuinely need.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Don't wait until you feel like you know enough.&lt;/p&gt;

&lt;p&gt;Start with a small real project and allow the problems you encounter to determine what you learn next.&lt;/p&gt;

&lt;p&gt;My own progression has essentially been:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HTML/CSS → JavaScript → Python → Django → AWS → automation&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;And I'm still learning.&lt;/p&gt;

&lt;p&gt;What started as simply wanting more control over my psychology website has gradually turned into the ability to build, deploy and maintain my own web project.&lt;/p&gt;

&lt;p&gt;For me, that's one of the most powerful things about learning to code.&lt;/p&gt;

</description>
      <category>python</category>
      <category>django</category>
      <category>aws</category>
      <category>openai</category>
    </item>
  </channel>
</rss>
