Photo by Nick Demou from Pexels

Here we illustrate how to do the following

  1. Create React App
  2. Setup CDK
  3. Get the AWS Hosted Zone
  4. Create S3 bucket for react app
  5. Create Certificate
  6. Create Cloudfront Distribution with certificate
  7. Add Route53 A Record for react app to target Cloudfront distribution
  8. Deploy react app

1. Create React App

$> npx create-react-app

To test, cd into the application folder and run

$> npm start

You should see the following appear

What’s a NoSQL Database

It’s a lot different from a relation database. It’s not a set of tables that we’re going to join data across. It’s not a table where each row is restricted by a schema.

I’m going to show how we can use a single DynamoDB table that we’re going use to index an object collection. We’re going to put all data items into one table. One table, because a NoSQL database is schema-less, meaning that it doesn’t require an enforced schema for the items. The only enforced constraint on a NoSQL database is that of a unique primary key.

Primary key (Item Identifier)

There are…

Dependency injection is a programming technique that makes a module independent of its dependencies. This enables you to replace dependencies without changing the module that uses them.

To illustrate Dependency Injection, we’ll build an API with the following endpoints

  1. GET /post: Gets all posts
  2. POST /post: Creates a post

and structure the API in the following way:

  1. Datasource — persistence implementation using third party modules.
  2. Repository — decouple application from persistence: has a datasource dependency.
  3. UseCase — business logic: has a repository dependency.
  4. Presentation — routes: has a use-case dependency.

1. PostDataSource

Photo by StellrWeb on Unsplash

Sources: The Accounting Game, Investopedia

Accounting has always been a mystery to me ever since school. The very term accounting give me the shivers. Why though? Is it because of the unknown?, the strange terms and phrases? And yet we all need to know a little accounting. Why? Accounting is the language of business and we all are do business in one way or another. And like with all languages we need to learn it to communicate. This blog will aim to provide the basics of monitoring the performance of your business, in particular, the balance sheet and income statement…

Photo by Tobias Fischer on Unsplash

sources: MongoDB, DynamoDB, the Internet.

When people use the term “NoSQL database”, they typically use it to refer to any non-relational database. Some say the term “NoSQL” stands for “non SQL” while others say it stands for “not only SQL.” Either way, most agree that NoSQL databases are databases that store data in a format other than relational tables.

A common misconception is that NoSQL databases or non-relational databases don’t store relationship data well. NoSQL databases can store relationship data — they just store it differently than relational databases do. …

Photo by K. Mitch Hodge on Unsplash

We’ll use the Fake Online REST API ( to fetch a list of posts and print the first post in the list

We’ll build a counter app to show hot module reloading while maintaining state using webpack-dev-server or express to update the modules

React Hot Loader with Web Dev Server

├─ dist/
├─ .babelrc
├─ package.json
├─ webpack.config.js
└─ src/
└─ assets/
└─ index.html
└─ css/
└─ js/
└─ img/
└─ fonts/
└─ components/
└─ pages/
└─ services/
└─ App.js
└─ index.js
npm init -y
npm i -D \
webpack-dev-server \
webpack \
webpack-cli \
babel-loader \
@babel/core \
@babel/preset-env \
@babel/preset-react \
"presets": [
npm i -S react react-dom react-hot-loader
"scripts": {
"dev": "webpack-dev-server"…

Photo by Pavan Trikutam on Unsplash

WebSocket is a computer communications protocol, providing full-duplex communication channels over a single TCP connection. The WebSocket protocol enables interaction between a web browser (or other client application) and a web server with lower overhead than half-duplex alternatives such as HTTP polling, facilitating real-time data transfer from and to the server.

  1. Create WSS Server (ws server)
  2. Connect Flutter application to Socket server
  3. Run the server on your favourite Server (create a wss server)

I’ve created a WebSocket server to run on port 5556 server with the following code.


Let’s run the server locally:

$> node server.js

To test the…

Bottom Navigation Bar is a component that makes it easy to explore and switch between the top-level view in single click or tap.

  1. Create Flutter Project
  2. Create Screen
  3. Create Navigation Container
$> flutter create --org com.yourdomain navexample

Photo by SpaceX on Unsplash

Create a Firebase Serverless API with Swagger UI

npm i -g firebase-tools@latest

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store