Front-End
Share experience about front end technology
How to Test GCP Function Locally with Node.js
2023/06/01·1 min readThis blog shows how to test GCP Cloud Function locally with Node.js.
Deploy GCP Cloud Function with Event Trigger via PubSub
2023/04/06·2 min readThis blog shows how to create a simple Node.js app and deploy it to GCP Cloud Functions as a Pub/Sub event trigger.
Deploy GCP Cloud Function with Http Trigger
2023/04/06·1 min readThis blog shows how to create a simple Node.js app and deploy it to GCP Cloud Functions as an HTTP trigger.
How to Publish NPM Package to npmjs.com
2023/02/05·1 min readA quick guide on how to publish an NPM package to npmjs.com using npm init and npm publish commands.
How to Publish NPM Package to Github
2023/02/01·1 min readA step-by-step guide on how to publish an NPM package to GitHub Packages by modifying package.json and using npm publish.
How to Get Started with Jest
2022/12/04·1 min readThis blog shows how to quickly get started testing JavaScript with Jest.
How to Setup Node.JS Web Server to AWS with ECS and Fargate
2022/10/11·6 min readThis blog will focus on how to create a simple Node.js app using Docker, then push the Docker image to AWS ECR and ECS and use AWS Fargate to serve this Node.js web server.
How to Setup Node.JS Web Server to AWS with ECS
2022/10/11·6 min readThis blog will focus on how to create a simple Node.js app using Docker, then push the Docker image to AWS ECR and ECS and use AWS Fargate to serve this Node.js web server.
CRUD with Cloud Firestore and Node.js by Google Cloud Function
2022/10/06·4 min readThis blog shows how to perform CRUD operations with Cloud Firestore using Google Cloud Functions and Node.js.
How to Deploy Cloud Functions with Node.js
2022/10/03·3 min readThis blog demonstrates how to get started with Cloud Functions using Node.js and how to deploy to the cloud.
Use .gcloudignore to Ignore files deploy to the Cloud Functions
2022/10/02·1 min readTHis blog show couple example code/command that how to interact with google cloud functions.
Use TypeScript with Google CloudFunction and Deploy locally
2022/10/01·4 min readThis blog shows how to set up TypeScript with Cloud Functions and deploy to Google Cloud locally.
How to Create Firestore Database by Node.js
2022/10/01·3 min readCloud Firestore is a cloud-based NoSQL database. This article shows how to get started with Node.js.
How to Manage Traffic with Cloud Function and Manage Revision
2022/09/12·2 min readThis blog focuses on how to manage traffic and revisions for Google Cloud Functions, so you can deploy new versions without replacing the current production version.
How to Lock Node.js Project Version
2022/09/10·2 min readIf you use Node.js with different projects in your development environment, you might get errors depending on different Node.js versions with different packages.
Use Prettier to Format VS Code to Enforce Consistent Style
2022/08/01·2 min readHow to use Prettier with VS Code to enforce consistent code formatting style across your project.
Install nvm for Running Different Node.js Version Locally
2022/07/09·1 min readA quick guide on how to install nvm (Node Version Manager) to run different Node.js versions locally.
Getting Started with Docker and Next.js
2022/03/18·2 min readA simple tutorial about how to get started with Docker by using Next.js as a web server.
Getting Started with Docker and Node.js
2022/03/18·3 min readA simple tutorial about how to get started with Docker by using Node.js as a web server.
Async Defer Inline or External Script Tag in JavaScript
2022/03/10·2 min readThe difference between async, defer inline and external script tag execution order.
How to Setup Swagger with Next.js
2021/09/09·4 min readThis blog walks through how to use Swagger / OpenAPI to add API documentation to Next.js, a Node.js framework. It covers how to create APIs in Next.js and add API documentation with Swagger using swagger-jsdoc and swagger-ui-react.
How to Setup Swagger OpenAPI with Express.js
2021/07/01·3 min readThis blog walks through how to use Swagger / OpenAPI to add API documentation to Express.js, a Node.js framework. It covers how to create APIs in Express.js and add API documentation with Swagger using the OpenAPI 3.0 specification.
Use Lambda with Node.js to Insert Data Into DynamoDB
2021/06/01·2 min readThis blog shows how to create an AWS Lambda with Node.js and insert a record into DynamoDB. It also shows how to manually deploy Lambda as a package to AWS from your local development environment.
How to Deploy Lambda with Node.js with Package Dependencies
2021/05/06·3 min readAWS Lambda is a serverless compute service that lets you run code on AWS-managed servers in the cloud. You only need to worry about your code, and AWS will manage the underlying servers. This blog shows how to get started with Lambda using Node.js with package dependencies. The code includes one dependency module, util, and uses zip to compress the index.js and node_modules folder.
How to Deploy Lambda with Node.js without Dependencies
2021/05/03·3 min readAWS Lambda is a serverless compute service that lets you run code on AWS-managed servers in the cloud. You only need to worry about your code, and AWS will manage the underlying servers. This blog shows how to get started with Lambda using Node.js with no package dependencies.
How to Get Started with Sentry Error Tracking
2021/04/01·2 min readThis blog shows how to get started with Sentry.io for tracking JavaScript errors and performance.
WebSite Performance Improvement - Lighthouse
2021/03/04·1 min readTips and techniques for improving website performance using Google Lighthouse recommendations, including text compression, reducing unused CSS and JavaScript, and browser caching.
How to Setup Swagger with Nest.js
2021/03/01·2 min readThis blog is about how to set up Swagger / OpenAPI with Nest.js, a progressive Node.js framework. It covers how to define a few sample APIs and how to enable Swagger UI in Nest.js.
How to Setup a HTTPS Node JS Server on Amazon EC2
2021/03/01·13 min readA complete guide to set up an HTTPS Node.js web server on EC2, including Express.js setup, AWS Certificate Manager SSL/TLS, application load balancer with HTTP to HTTPS redirect, and Route 53 domain configuration.
Upload to AWS S3 By Using Node.js
2021/01/16·2 min readThis blog shows sample code for how to upload files to AWS S3 by using Node.js.
Move DynamoDB Table from Local to AWS Cloud
2020/12/31·1 min readThis blog shows how to move a DynamoDB local table and data to the DynamoDB Web Service. Unlike SQL databases, you can't simply use a backup file to restore to a different environment.
Angular2 Master/Detail Page Example
2020/12/11·1 min readThis blog demo how to build angualr2 master/detail page, following is the template page for now.
How to Find Record from MongoDB with Node.js and Mongoose
2020/09/11·2 min readThis blog shows a tutorial on how to find data from MongoDB by using Node.js with Mongoose.
How to Delete Data from MongoDB with Node.js and Mongoose
2020/08/11·2 min readThis blog shows a tutorial on how to delete data from MongoDB by using Node.js with Mongoose.
How to Update MongoDB Data with Node.js and Mongoose
2020/08/11·2 min readThis tutorial shows how to update data in MongoDB by using Node.js with Mongoose, including connecting to MongoDB, defining a schema, and performing update operations.
How to Insert Data into MongoDB with Node.js and Mongoose
2020/07/11·2 min readThis blog shows a tutorial on how to insert data into MongoDB by using Node.js with Mongoose.
How to Redirect HTTP to HTTPS on Amazon Linux with Node.js
2020/05/02·3 min readThis blog shows how to redirect from HTTP to HTTPS by using Nginx at Amazon Linux EC2 Instance.
How to Use nconf for Environment Configuration at Node.js
2020/03/02·1 min readThis blog shows how to use nconf for Node.js environment configuration.
Javascript Splice vs Slice
2020/02/03·1 min readThis blog compares how to use Splice versus using Slice at JavaScript.
Javascript Push Pop Shift and Unshift
2020/01/05·2 min readThis blog show difference between the JavaScript Array's method push, pop, shift and unshift usage.
Build and Deploy with AWS CodePipeline
2019/03/01·4 min readThis blog shows how to use AWS CodePipeline to automate building and deploying a Node.js app from a GitHub repo to AWS Elastic Beanstalk.
Detect Breakpoint at Angular
2019/02/01·1 min readSample code about how to detect breakpoint at Angular.
How to Deploy Node.js App to the AWS Elastic Beanstalk
2019/01/01·2 min readHow to deploy a Node.js app to AWS Elastic Beanstalk.
Start Angular2 with Angular2-Webpack-starter
2016/09/03·1 min readGet start with Angular2 with Angular2-webpack-starter
Start Angular2 with angular-cli
2016/09/01·2 min readThis blog will show how to get start with Angular2 with angular-cli.
Angular2 HelloWorld
2016/06/30·1 min readUse Angular2 to create a Simple Sample App.
Angular2 - Quickstart Angular2 with angular.io
2016/05/31·2 min readGetting started with Angular2 using the angular.io QuickStart example, covering all the required files and setup.
Start Angular2 - Resources
2016/05/31·3 min readFew resources to learn Angular2.
Angular2 StackOverflow List
2016/05/28·1 min readAngular2 - Try angular.io's tutorial
2016/05/28·1 min readA code snippet about how to use Angular2.
A Few Useful Command Line Commands for Node.js
2016/04/15·1 min readA collection of useful command line commands and favorite Node.js modules for development.
Start Use Gulp and Browserify to Build Angular App with Node.js
2016/04/01·3 min readGulp ASP.NET MVC 4.5.2 Template and Browserify
2016/04/01·1 min readHow to use Gulp with ASP.NET MVC 4.5.2 Template and Browserify.
How to Setup MongoDB Text Search with Node.js
2016/03/19·5 min readA guide on how to set up and use MongoDB text search with Node.js, including indexing, querying, and scoring.
How to Use npm live-server
2016/03/03·2 min readHow to use the npm package live-server to serve files during development.
Google Plus Share
2016/02/01·1 min readHow to implement Google Plus share into your web application.
How to Use Grunt with Keystone.js for Minifying CSS, JavaScript, and HTML
2016/02/01·2 min readHow to use Grunt to set up tasks in Keystone.js for minifying CSS, JavaScript, and HTML.
How to Add Facebook Share Button to the Page
2016/01/31·4 min readThis blog shows how to use Facebook share in 3 ways. Contains code snippets in HTML and JavaScript.
How to Debug Node.js Code with Visual Studio
2016/01/31·1 min readHow to debug a Node.js app in Visual Studio.
How to Use gigya to Share and Comments
2016/01/31·1 min readHow to use Gigya to share and comment
SEO - Robots and Sitemap.xml
2016/01/07·1 min readHow to improve your SEO by adding a robots.txt file and sitemap.xml to your website.
Fix Google Crawl Errors 404
2015/12/31·1 min readHow to fix Google crawl 404 errors by redirecting old or broken URLs to the correct pages.
Stop Using Visual Studio 2013 with Node.js Project
2015/12/31·1 min readWhy you should stop using Visual Studio 2013 for Node.js projects due to performance issues.
About Javascript Best Practices, ECMAScript 5
2015/12/29·3 min readEverything about Javascript ECMAScript 5.
A Memo for ECMAScript 5 - The Good, Bad, and Awful Parts
2015/12/04·4 min readA comprehensive guide to JavaScript quirks, pitfalls, and best practices based on Douglas Crockford's JavaScript - The Good Parts.
How to Create a Simple Angular Contact Form at Keystone.js
2015/11/01·4 min readAngular.js with keystone.js
How to Highlight Code Blocks Using Prism
2015/10/31·1 min readPrism is a lightweight JavaScript and CSS library for syntax highlighting your code on the web.
Few Sample Applications for Angular.js
2015/10/02·1 min readList of angular app example, template from github or other open source.
Javascript Unit Test With Jasmine, Angular and Chutzpah with Visual Studio
2015/10/02·1 min readEnable javascript unit test at Visual Studio Test Explorer window
How to Load Multiple Google Fonts into One Single Request
2015/10/02·1 min readIf your page needs more than one Google font, instead of making multiple requests, you can combine them into one using the pipe character.
How to add Google Fonts to Your WebSite
2015/10/02·1 min readHow to get start using Google Font API
How to Run Keystone.js within IIS
2015/07/31·2 min readInstructions for how to install and run Keystone.js (Node.js CMS) on Windows 7 IIS as a web application.
A Simple Design to Use Ghost Blog Platform with Visual Studio
2015/07/31·1 min readAn overview of the architecture for running Ghost blog platform on a Windows system with IIS.
List of Useful Links about Ghost Blog Platform
2015/07/31·1 min readA curated list of links and tips for the Ghost blog platform built on Node.js.
How to Use Ghost Blog CRM Platform
2015/07/31·2 min readThis blog provides basic information about how to use the Ghost Platform after installing Ghost.
How to Run Ghost Blog Platform at IIS
2015/07/31·3 min readThis is about how to set up the Ghost blogging platform to run on an IIS Web Server with iisnode.
How to Setup Ghost as Intranet Network
2015/07/31·1 min readFollowing the guide on how to setup Ghost (Node.js) on a Windows server, you can set up Ghost as a Production server or use it for local development. This blog shows how to set it up as Production but use it inside the company's network as an Intranet.
Few Free Node.js Web Application for Web Developers
2015/07/02·1 min readA list of free web application frameworks built on top of Node.js.
How to Install Node.js Ghost Blog Platform
2015/06/02·1 min readShows how to install the Ghost Node.js blogging platform.
Angular Directive for Check Number Input
2015/05/01·1 min readA simple angular directive input text only accept number as 10 digits, but also length is configurable at view.
How to Support IE9 Input Placeholder for Angular.js
2015/05/01·1 min readHow to make placeholder at IE9 use angular works, yes just make it work.
Example Code - How to Use Angular.js Location Hash
2015/05/01·1 min readangular location hash example code
Code Snippet - Sample Code for Beautify Json
2015/05/01·1 min readHow to Use CSS3 Media Query
2014/10/04·1 min readA few tips about CSS3 media queries for responsive web design.
Customize Bootstrap Breakpoint for Show/Hide Nav Icon
2014/09/06·1 min readHow to customize the Bootstrap breakpoint for showing or hiding the nav icon, for example at 1024px instead of the default 760px.
CSS Add Content Between Links
2014/09/06·1 min readSample code for inserting content between links using CSS and applying styles for tablet and mobile with media queries.
Javascript default behavior of load method
2014/08/02·1 min readWas curious and although I think I kind of know the result just want to do a check what's default javascript behavior to load themethod. Should I always put the method to the beginning of the script or the end of the script.
How to Keep Node.js Running at Linux Server
2014/08/02·2 min readHow to use nohup and respawn.js to keep a Node.js web application running on a Linux server.
How to Use MongoDB TextSearch by Mongoose
2014/08/02·1 min readHow to use MongoDB text search
A Few Ways to Handle Environment Config at Express.js
2014/08/01·1 min readConfiguration for your application is very important because your testing, development, and production environments are going to have different environment variables. This blog shows a few options for using config in Node.js.
Few Useful Links About JavaScript Best Practices
2014/07/05·1 min readFew collections about best practices of JavaScript.
Crawl Postponed Because Robots.txt was Inaccessible
2014/07/05·2 min readWhen you see the error message "Crawl postponed because robots.txt was inaccessible" in your webmaster page, it means Google can't crawl your site due to a problem with your robots.txt. This blog explains how to troubleshoot and fix the issue.
Few Very Useful Links to Help Improve the SEO
2014/07/05·2 min readA collection of useful SEO tools and resources that can help improve your site's search engine optimization.
Code Snippet - How to do Async Programming in Node.js
2014/07/05·1 min readA short sample code to describe how to use the npm async module waterfall process. Since Node.js and Mongoose are async, if you want to process your logic sequentially, using the async module is one way.
Code Snippet - Return JSON Response for Express.js
2014/07/05·1 min readA sample code snippet for creating an API that returns a JSON object in Express.js.
How to Get Started with Mongoose
2014/06/21·1 min readThis article provides information to help you get started with Mongoose.
How to Handle 500 Errors at Express.js
2014/06/14·1 min readSample code about how to handle 500 errors at Express.js
How to Use Yeoman, Brower, Grunt, Angular.js and Node.js
2014/06/07·2 min readGet Start Yeoman, Grunt and Brower with AngularJS, NodeJS I really like work with this fast, modern web development after try a simple html template provide by Yeoman. Run the buildtask with Grunt, search additional library with Brower. All that make the web development very simple and fast. In additional withclient side technology AngularJS and backend-side NodeJS.
How to Get Start by Using Express.js
2014/06/07·3 min readThis blog will show how to use Express.js default template on your local machine. Also deploy it to the cloud to verify itworking. The IDE using at this blog is Sublime Text and Cloud9 IDE.
How to Use Forever in Linux for Node.js
2014/05/31·1 min readForever is an npm package. This blog shows how to use it to keep Node.js applications running.
How to Get Started with Node.js
2014/05/31·2 min readA sample code about how to use Node.js to create a simple web server.
Code Snippet - How to Add CSS Class to Jade
2014/05/31·1 min readA quick example of how to conditionally add a CSS class to an HTML element in Jade (Pug) templates.
Code Snippet - How to Use Variable with Jade
2014/05/31·1 min readA quick example of how to use variables in Jade (Pug) templates.
Few Links About Convert Jade to Html and Vice Versa
2014/05/10·1 min readUseful links for converting between Jade templates and HTML markup.
How to Use Different Environment Config with Node.js
2014/05/03·1 min readHow to use environment config with Node.js.
Code Snippet - How to Access Query String at Node.js
2014/05/02·1 min readA code snippet showing how to access a query string in Node.js.
Code Snippet - How to Handle Redirect within Node.js
2014/05/02·1 min readOn the Node.js server side, if you want to redirect to another URL after successfully getting a response from an API, you can use the request module.
How to Run Node.js as Background by Using Forever
2014/04/30·3 min readHow to use forever to run Node.js as a background process.