<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>JSON on Caktus Group</title><link>https://www.caktusgroup.com/tags/JSON/</link><description>Recent content in JSON on Caktus Group</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 20 Oct 2020 14:31:14 +0000</lastBuildDate><atom:link href="https://www.caktusgroup.com/tags/JSON/index.xml" rel="self" type="application/rss+xml"/><item><title>JWT Authentication: Rethinking the Pattern</title><link>https://www.caktusgroup.com/blog/2020/10/20/jwt-authentication-rethinking-pattern/</link><pubDate>Tue, 20 Oct 2020 14:31:14 +0000</pubDate><guid>https://www.caktusgroup.com/blog/2020/10/20/jwt-authentication-rethinking-pattern/</guid><description>&lt;p>&lt;strong>Part two of a two-part series. &lt;a href="https://www.caktusgroup.com/blog/2020/08/21/jwt-authentication-how-does-it-work/">View part one&lt;/a>.&lt;/strong>&lt;/p>
&lt;h4 id="stateless-authentication-with-json-web-tokens--safely">Stateless authentication with JSON Web Tokens  —  safely!&lt;/h4>
&lt;p>As developers who build REST APIs, we are quite familiar with JSON Web Token (JWT) based authentication. The typical pattern is this:&lt;/p></description></item><item><title>JWT Authentication: How Does it Work?</title><link>https://www.caktusgroup.com/blog/2020/08/21/jwt-authentication-how-does-it-work/</link><pubDate>Fri, 21 Aug 2020 16:20:58 +0000</pubDate><guid>https://www.caktusgroup.com/blog/2020/08/21/jwt-authentication-how-does-it-work/</guid><description>&lt;p>&lt;strong>Part one of a two-part series.&lt;/strong>&lt;/p>
&lt;p>A REST API is a wonderful way to expose application data to a wide
variety of clients. Anything that can speak HTTP can communicate with a
REST API, and these days that means an exciting variety of devices. From
plain old web browsers to mobile devices to a whole array of IoT
applications  &amp;mdash;  there are a lot of good reasons to use a REST API.
And if you&amp;rsquo;ve &lt;a href="https://www.caktusgroup.com/blog/2019/02/01/creating-api-endpoint-django-rest-framework/">ever built
one&lt;/a>,
you&amp;rsquo;re familiar with the predominant means of restricting endpoints to
authenticated users  &amp;mdash;  JSON Web Token (JWT) based authentication.&lt;/p></description></item><item><title>How to Do Wagtail Data Migrations</title><link>https://www.caktusgroup.com/blog/2019/09/12/wagtail-data-migrations/</link><pubDate>Thu, 12 Sep 2019 20:12:03 +0000</pubDate><guid>https://www.caktusgroup.com/blog/2019/09/12/wagtail-data-migrations/</guid><description>&lt;p>&lt;a href="https://wagtail.io/" target="_blank" rel="noopener noreferrer">Wagtail&lt;/a> is a fantastic content management system
that does a great job of making it easy for developers to get a new
website up and running quickly and painlessly. It&amp;rsquo;s no wonder that
Wagtail has grown to become the leading Django-based CMS. &lt;a href="https://django-chat.simplecast.com/episodes/wagtail-cms-tom-dyson" target="_blank" rel="noopener noreferrer">As one of the
creators of Wagtail recently
said&lt;/a>,
it makes the initial experience of getting a website set up and running
very good. At Caktus, &lt;a href="https://www.caktusgroup.com/blog/2019/03/07/why-we-love-wagtail/">Wagtail is our go-to
framework&lt;/a>
when we need a content management system.&lt;/p></description></item><item><title>A Guide To Creating An API Endpoint With Django Rest Framework</title><link>https://www.caktusgroup.com/blog/2019/02/01/creating-api-endpoint-django-rest-framework/</link><pubDate>Fri, 01 Feb 2019 20:42:28 +0000</pubDate><guid>https://www.caktusgroup.com/blog/2019/02/01/creating-api-endpoint-django-rest-framework/</guid><description>&lt;p>As part of our work to make sharp web apps at Caktus, we frequently
create API endpoints that allow other software to interact with a
server. Oftentimes this means using a frontend app (React, Vue, or
Angular), though it could also mean connecting some other piece of
software to interact with a server. A lot of our API endpoints, across
projects, end up functioning in similar ways, so we have become
efficient at writing them, and this blog post gives an example of how to
do so.&lt;/p></description></item><item><title>Basics of Django Rest Framework</title><link>https://www.caktusgroup.com/blog/2018/02/26/basics-django-rest-framework/</link><pubDate>Mon, 26 Feb 2018 14:30:00 +0000</pubDate><guid>https://www.caktusgroup.com/blog/2018/02/26/basics-django-rest-framework/</guid><description>&lt;h3 id="what-is-django-rest-framework">What Is Django Rest Framework?&lt;/h3>
&lt;p>&lt;a href="http://www.django-rest-framework.org/" target="_blank" rel="noopener noreferrer">Django Rest Framework&lt;/a> (DRF) is a library which works with standard Django models to build a flexible and powerful API for your project.&lt;/p></description></item><item><title>Managing your AWS Container Infrastructure with Python</title><link>https://www.caktusgroup.com/blog/2017/06/28/managing-your-aws-container-infrastructure-with-python/</link><pubDate>Wed, 28 Jun 2017 13:30:00 +0000</pubDate><guid>https://www.caktusgroup.com/blog/2017/06/28/managing-your-aws-container-infrastructure-with-python/</guid><description>&lt;p>We deploy Python/Django apps to a wide variety of hosting providers at
Caktus. Our
&lt;a href="https://github.com/caktus/django-project-template" target="_blank" rel="noopener noreferrer">django-project-template&lt;/a>
includes a &lt;a href="https://docs.saltstack.com/en/latest/topics/" target="_blank" rel="noopener noreferrer">Salt&lt;/a>
configuration to set up an Ubuntu virtual machine on just about any
hosting provider, from scratch. We've also modified this a number of
times for local hosting requirements when our customer required the
application we built to be hosted on hardware they control. In the past,
we also &lt;a href="http://fabulaws.readthedocs.io/en/latest/architecture.html" target="_blank" rel="noopener noreferrer">built our own
tool&lt;/a> for
creating and managing EC2 instances automatically via the Amazon Web
Services (AWS) APIs. In March, my colleague &lt;a href="https://www.caktusgroup.com/about/dan-poirier/">Dan
Poirier&lt;/a> wrote an excellent post about &lt;a href="https://www.caktusgroup.com/blog/2017/03/23/hosting-django-sites-amazon-elastic-beanstalk/">deploying
Django applications to Elastic
Beanstalk&lt;/a>
demonstrating how we&amp;rsquo;ve used that service.&lt;/p></description></item></channel></rss>