Building a Basic Node.js Project

First, make sure you have Node.js installed on your machine. Then follow these steps to create the project:

Create a new directory for your project:

mkdir nodejs-login-todolist
cd nodejs-login-todolist

MinhTDAbout 2 minGuideNodeJS
AWS Lambda and AWS SQS A Powerful Combination

AWS Lambda and AWS SQS are two powerful AWS services that can be used together to create a variety of event-driven applications. Lambda is a serverless compute service that allows you to run code without provisioning or managing servers. SQS is a message queuing service that allows you to decouple applications and scale microservices.


MinhTDAbout 2 minGuideAWS
AWS TIPS I WISH I'D KNOWN BEFORE I STARTED

Moving from physical servers to the "cloud" involves a paradigm shift in thinking. Generally in a physical environment you care about each invididual host; they each have their own static IP, you probably monitor them individually, and if one goes down you have to get it back up ASAP. You might think you can just move this infrastructure to AWS and start getting the benefits of the "cloud" straight away. Unfortunately, it's not quite that easy (believe me, I tried). You need think differently when it comes to AWS, and it's not always obvious what needs to be done.


Rich AdamsAbout 18 minGuideAWS
Essential Mindsets for Frontend Developers

As a frontend developer, adopting the right mindset is crucial for success in various areas of web development. In this blog, we will explore three essential mindsets that frontend developers should cultivate: CSS mindset, ReactJS mindset, and Pattern Design mindset. We will dive deeper into each mindset, providing insights, code samples, and practical tips to help you excel in these areas. Let's get started!


MinhTDAbout 3 minGuideFrontend
Building a simple infrastructure in AWS

Step 1: Sign up for AWS

To sign up for an AWS account, you'll need to provide some basic information about yourself or your company, such as your name, email address, and credit card information. AWS offers a free tier that allows you to use many of its services for free for up to 12 months. This is a great way to try out AWS and experiment with its services without incurring any costs.


MinhTDAbout 4 minGuideAWS
AWS Introduction

Amazon Web Services (AWS) is a cloud computing platform that provides a wide range of services to help you build, deploy, and manage your applications in the cloud. AWS is a product of Amazon, and it was launched in 2006 with a handful of services. Today, AWS has become the most widely adopted cloud platform in the world, providing businesses and individuals with a flexible, reliable, and scalable infrastructure.


MinhTDAbout 3 minGuideAWS
Create A Simple Todo List API Using FastAPI

Create A Simple Todo List API Using FastAPI

To create a simple to-do list API using FastAPI, you can follow these steps:

1. Install FastAPI and uvicorn using pip:

FastAPI is a Python web framework for building APIs, and uvicorn is an ASGI server for running Python web applications. The pip command is used to install these packages.


MinhTDAbout 3 minGuidePythonFastAPI
Moving A Git Branch To A New Base

Moving A Git Branch To A New Base

Suppose you have some work on a git branch that you started from one branch, and you want to move that work to be based on a different branch, as if you had started from there originally. The git rebase command gives you the tools to do it, but it’s complicated, and I can never remember the details, so I finally figured it out and made an alias to do it.


MinhTDAbout 2 minGuideGit
Python Custom Formatting

Python Custom Formatting

Python f-strings use a formatting mini-language, the same as the older .format() function. After the colon comes short specifications for how to format the value:

>>> word = "Hello"
>>> f"{word:/^20}"
'///////Hello////////'
>>> amt = 12345678
>> f"{amt:20,}"
'          12,345,678'

MinhTDAbout 2 minGuidePython