Introduction Building custom queries for your database can be time consuming and complex. Object-Relational Mapping is a concept designed to ease this burden and make code easier to read. The job of an ORM is to take our data objects and take care of the heavy lifting for us. Today we will utilize the built in ORM features of the SqlAlchemy library for python. Installing sqlalchemy pip install sqlalchemy Declarative Base From within sqlalchemy we will utilize something called declarative_base.
DynamoDB Core Concepts A little theory behind DynamoDB and NoSQL. DynamoDB does not implement a sql like language and how it stores data is fundamentaly different. Data is stored in the form of JSON documents and “fields” can be arbitrary (More on this later). DynamoDB has 3 core components: Tables - This is a collection of our json documents. Here our data will share common attributes (but we are not limited to pre-defined attributes).
Introduction The biggest struggle for new blogs or websites can be getting viewers. Gaining an audience or community can be a long process that can sometimes take years. So how do you quickly get legitimate users to visit your site? Welcome to the concept of Search Engine Optimization. The idea of SEO is making modifications or optimizations to your website so that it is likely to be returned when people search for a topic.
Introduction In this tutorial we will install Amazon Web Services SAM(Serverless Application Model) for local go api development. This will allow us to test and debug our code without incurring any cost for AWS services. Before we get started you will need to install the aws-sam, docker, and golang. The scope of this tutorial will be limited to macOS and assuming you already have docker and golang installed. First we will install the aws-sam-cli with brew.