Front-End
Share experience about front end technology
How to GCP Function locally with Node.js
2023/06/01·3 min readThis blog show how to test GCP Cloud Function locally with Node.js.
Deploy GCP Cloud Function with Event Trigger via PubSub
2023/04/06·6 min readThis blog create simple Node.js and deploy to GCP Cloud Function as PubSub Event Trigger.
Deploy GCP Cloud Function with Http Trigger
2023/04/06·6 min readThis blog create simple Node.js and deploy to GCP Cloud Function as Http Trigger.
Install nvm for Running Different Node.js Version Locally
2022/7/9·3 min readUse TypeScript with Google CloudFunction and Deploy locally
2022/10/1·3 min readThis blog show how to setup TypeScript with CloudFunction and Deploy to Google Cloud locally
CRUD with Cloud Firestore and Node.js by Google Cloud Function
2022/10/06·6 min readThis blog show how to do CRUD operation with Firestore and Google Cloud Function
How to Create Firestore database by Node.js
2022/10/01·5 min readCloud Firestore is cloud-based, NoSQL database, this article shows how to get start wth Node.js
Get Start with Docker with Next.js
2022/03/18·5 min readA Simple Tutorial about how to get start with Docker by using Next.js as Web Server.
Get Start with Docker with Node.js
2022/03/18·5 min readA Simple Tutorial about how to get start with Docker by using Node.js as Web Server.
Async Defer Inline or External Script Tag in JavaScript
2022/03/10·6 min readThe difference between async, defer inline and external script tag execution order.
How to Setup Swagger with Next.js
2021/9/9·8 min readThis blog walk through how to use Swagger / OpenAPI to add API document to Next.js, a node.js framework. It will cover how tocreate to API at Next.js and add API Document with Swagger by swagger-jsdoc and swager-ui-react.
How to Setup Swagger OpenAPI with Express.js
2021/7/1·13 min readThis blog walk through how to use Swagger / OpenAPI to add API document to the Express.js, node.js framework, it will cover how tocreate to API at Express.js and add API Document with Swagger by using OpenAPI 3.0 specification.
Use Lambda with Node.js to Insert Data Into DynamoDB
2021/6/1·3 min readThis blog show how to create AWS Lambda with Node.js and insert record into DynamoDB, also shows manully deploy Lambda as packageto AWS from the your local develop environment.
How to Deploy Lambda with Node.js with Package Dependencies
2021/5/6·4 min readAWS Lambda is serverless compute service and let you run code at AWS's managing servers on the cloud, you will only worry aboutyour code and AWS will manage the underneath servers. This blog is trying to show how to get start with Lambda by use Node.js withpackage dependencies, the code will include one dependency module util, it'll will use zip to compress the index.js andnode_modules folder.
How to Deploy Lambda with Node.js without Dependencies
2021/5/3·3 min readAWS Lambda is serverless compute service and let you run code at AWS's managing servers on the cloud, you will only worry aboutyour code and AWS will manage the underneath servers. This blog is trying to show how to get start with Lambda by use Node.js withNo package dependencies.
How to Getting Started with Sentry Error Tracking
2021/4/1·2 min readThis blog shows how to get started with Sentry.io for tracking JavaScript errors and performance.
How to Setup Swagger with Nest.js
2021/3/1·3 min readThis blog is about how to setup Swagger / OpenAPI with Nest.js, a progressive Node.js framework, it will cover how to define fewsample API and how to enable Swagger UI at Nest.js.
How to Setup a HTTPS Node JS Server on Amazon EC2
2021/3/1·10 min readThis blog is a complete guide that shows how to set up HTTPS node.js web server on EC2 from beginning to end. It'll include how to set up a simple Express.js web app on EC2, how to create an SSL/TSL certificate by using AWS Certificate Manager, how to setup AWS application load balancer and create redirect rule from non-www to www, HTTP to HTTPS, and how to use Route 53 to configure a route from your custom domain to the AWS application load balancer. This blog will assume using example.com, at the end of the blog, we'd like all the `http://example.com`, `http://www.example.com`, `https://example.com` redirect to `https://www.example.com`.
Upload to AWS S3 By Using Node.js
2021/1/16·1 min readThis blog is to show some sample code that how to upload files to AWS by Node.js.
How to Find Record from MongoDB with Node.js and Mongoose
2020/9/11·1 min readThis blog will show a tutorial about how to find data into MongoDB by using Node.js with Mongoose.
How to Delete Data from MongoDB with Node.js and Mongoose
2020/8/11·1 min readThis blog will show a tutorial about how to delete data from MongoDB by using Node.js with Mongoose.
How to Update MongoDB Data with Node.js and Mongoose
2020/8/11·3 min readHow to Insert Data into MongoDB with Node.js and Mongoose
2020/7/11·1 min readThis blog will show a tutorial about 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/5/2·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/3/2·1 min readThis blog shows how to use nconf for Node.js environment configuration.
Javascript Splice vs Slice
2020/2/3·1 min readThis blog compares how to use Splice versus using Slice at JavaScript.
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.
Javascript Push Pop Shift and Unshift
2020/1/5·2 min readThis blog show difference between the JavaScript Array's method push, pop, shift and unshift usage.
Detect Breakpoint at Angular
2019/2/1·1 min readSample code about how to detect breakpoint at Angular.
Angular2 HelloWorld
2016/6/30·1 min readUse Angular2 to create a Simple Sample App.
Angular2 - Quickstart Angular2 with angular.io
2016/5/31·1 min readSo I'm trying to learn Angular by checking angular.io's QuickStart Example. Once you get all the files as following,index.html,package.json,styles.css,systemjs.config.js,tsconfig.json,typings.json. Also, you'll need main.ts and app.component.ts,but you can get all these files at Angular quickstart [https://angular.io/docs/ts/latest/quickstart.html]. I'll list my files herewhich I copied from angular.io because the code here you can reference what's file are using.
Angular2 StackOverflow List
2016/5/28Angular2 - Try angular.io's tutorial
2016/5/28·1 min readA code snippet about how to use Angular2.
Few Useful Command Line Commands for Node.js
2016/4/15Gulp ASP.NET MVC 4.5.2 Template and Browserify
2016/4/1·1 min readHow to Use Gulp ast ASP.NET MVC 4.5.2 Template.
How to Use Grunt with Keystone.js for Minify CSS, Javascript and HTML
2016/2/1·8 min readHow to Use Grunt to setup task at Keystone.js for minify CSS, Javascript, HTML
How to add Facebook Share Button to the Page
2016/1/31·11 min readThis blog show how to use facebook share in 3 ways. Contains code snippet in HTML, Javascript.
How to Run Keystone.js within IIS
2015/7/31·2 min readA instruction of how to install node.js keystone at windows 7 IIS as web application.
A Simple Design to Use Ghost Blog Platform with Visual Studio
2015/7/31architecture of ghost in windows system.
List of Useful Links about Ghost Blog Platform
2015/7/31·1 min readList of links and tips for Ghost Blog Platform.
Angular Directive for Check Number Input
2015/5/1·4 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/5/1How to make placeholder at IE9 use angular works, yes just make it work.
Example Code - How to Use Angular.js Location Hash
2015/5/1angular location hash example code
Few Memo about ECMAScript 5
2015/12/4Fix Google Crawl Errors 404
2015/12/31·1 min readHow to Hightlight Code Block by Use Prism
2015/10/31·1 min readPrism is very nice javascript, css library for syntaxhight your code.
Few Sample Applications for Angular.js
2015/10/2·1 min readList of angular app example, template from github or other open source.
Customize Bootstrap Breakpoint for Show/Hide Nav Icon
2014/9/6·1 min readDefault for boostrap nav to show is 760px, if you want to change it, following is the setting you could do to customize thebootstrap. Following screen example show how to show or hide the nav icon at 1024px.
CSS Add Content Between Links
2014/9/6·1 min readsample code for apply style only for tablet, mobile, inserting cotent between links by css.
Few Ways to Handler Environment Config at Express.js
2014/8/1·1 min readConfig for your application is very important, because your testing, development and production is going to have differentenviroment variable. This blog show few choice of using config at Node.js.
Crawl Postponed Because Robots.txt was Inaccessible
2014/7/5·2 min readWhen you see the error message "Crawl postponed because robots.txt was inaccessible" at your web master page. It is telling youthat google can't crawl your site, something wrong with your robots.txt. That means, your site's SEO is dead, unless somebody knowyour site go to your site directly, otherwise google will not showing your site to search.
Few Very Useful Links to Help Improve the SEO
2014/7/5·2 min readfew very useful seo tools and tools could improve your site's SEO.
How to Handler 500 Error at Express.js
2014/6/14·1 min readSample code about how to handler 500 error at Express.js
How to Use Forever in Linux for Node.js
2014/5/31·1 min readForever is an npm package, this blog shows how to use it.
How to Get Start with Node.js
2014/5/31·2 min readA sample code about how to use Node.js to create a simple web server.
How to Use Different Environment Config with Node.js
2014/5/3·1 min readHow to use environment config with Node.js.
Code Snippet - How to Access Query String at Node.js
2014/5/2·1 min readSample Code snippet how to access querystring at Node.js.
Few Links About Convert Jade to Html and Vice Versa
2014/5/10How to Use CSS3 Media Query
2014/10/4·1 min readFew tips about CSS3 Media Query.
How to Manage Traffic with Cloud Function and Manage Revision
2022/9/12·3 min readIf you have used the Google Cloud Function, you'll notice how easy it can deploy code and without worry the backend managed services by Google, so you can focus on development, at this blog will focus on how to manage traffic and revision once you have to deploy more different version.
How to Lock Node.js Project Version
2022/9/10·3 min readIf you use Node.js with different project in your development environment, you might get error depend on different Node.js version with different package.
Use Prettier to Format VS Code to Enforce Consistent Style
2022/8/1·3 min readHow to Setup Node.JS Web Server to AWS with ECS and Fargate
2022/10/11·10 min readThis blog will focus on how to create simple Node.js by using Docker, then later 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·10 min readThis blog will focus on how to create simple Node.js by using Docker, then later push the docker image to AWS ECR and ECS and use AWS Fargate to serve this Node.js Web Server.
How to Deploy Cloud Functions with Node.js
2022/10/03·5 min readThis blog demo how to get start with Cloud Function with Node.js and how to deploy to the Cloud
How to Deploy Node.js App to the AWS Elastic Beanstalk
2019/1/1·1 min readHow to deploy a Node.js app to AWS Elastic Beanstalk.
How to Use npm live-server
2016/3/3·1 min readHow to use npm package live-server.
How to Use Ghost Blog CRM Platform
2015/7/31·1 min readThis blog provides basic information about how to use Ghost Platform, after how to install Ghost.
How to Publish NPM Package to npmjs.com
2023/2/5·3 min readHow to Publish NPM Package to Github
2023/2/1·3 min readInstall nvm for Running Different Node.js Version Locally
2022/7/9·3 min readStart Angular2 with Angular2-Webpack-starter
2016/9/3·1 min readGet start with Angular2 with Angular2-webpack-starter
Start Angular2 with angular-cli
2016/9/1·1 min readThis blog will show how to get start with Angular2 with angular-cli.
Start Angular2 - Resources
2016/5/31·1 min readFew resources to learn Angular2.
Start Use Gulp and Browserify to Build Angular App with Node.js
2016/4/1·5 min readHow to Run Ghost Blog Platform at IIS
2015/7/31·3 min readThis is about how to setup Ghost to run at IIS Web Server.
How to Setup Ghost as Intranet Network
2015/7/31·1 min readSo following How to setup Ghost(node.js) at window server [../blog/post/run-ghostnodejs-at-iis], you could setup Ghost atProduction server or use as local development. This blog show how to setup as Production but use inside the company's network asIntranet.
Stop Using Visual Studio 2013 with Node.js Project
2015/12/31Stop using Visual Studio with Node.js Project
How to Create a Simple Angular Contact Form at Keystone.js
2015/11/1·11 min readAngular.js with keystone.js
Code Snippet - How to do Async Programming in Node.js
2014/7/5A shot sample code to describe how to use npm async module waterfall process.Since node.js, mongoose is async, if want to process your logic like, update step 1 do setup 2 and more. Use async module is oneway.
Code Snippet - Return Json Response for Express.js
2014/7/5·1 min readA Sample Code Snippet for creating API return JSON object.
Code Snippet - How to Handler Redirect within Node.js
2014/5/2·2 min readat node.js server side, you want to redirect to another url after you success get response from one api.you can try use request module.
How to Run Node.js as Background by Using Forever
2014/4/30·1 min readHow to use forever to run Node.js as background.
Use .gcloudignore to Ignore files deploy to the Cloud Functions
2022/10/02·5 min readTHis blog show couple example code/command that how to interact with google cloud functions.
How to Setup MongoDB Text Search with Node.js
2016/3/19·12 min readSEO - Robots and Sitemap.xml
2016/1/7·1 min readEasiest improvement for robots is add file robots.txt and following content. It means allow any robots engine to crawl your site,and don't index your /keystone and /admin root folder. One of the reason you do that is then these engine won't check your page sofirst your page speed is better.
How to Debug Node.js Code with Visual Studio
2016/1/31How to debug node.js app in visual studio.
How to Use gigya to Share and Comments
2016/1/31·2 min readHow to use Gigya to share and comment
Few Free Node.js Web Application for Web Developers
2015/7/2·1 min readFew List of web application framework build on top of node.js
How to Install Node.js Ghost Blog Platform
2015/6/2·1 min readShows how to install Ghost [https://ghost.org/download/] node.js platform
Code Snippet - Sample Code for Beautify Json
2015/5/1·1 min readHTML i Tag Closing Tag
2015/12/31·2 min readAbout Javascript Best Practices, ECMAScript 5
2015/12/29·8 min readEverything about Javascript ECMAScript 5.
Javascript Unit Test With Jasmine, Angular and Chutzpah with Visual Studio
2015/10/2·1 min readEnable javascript unit test at Visual Studio Test Explorer window
How to add Google Fonts to Your WebSite
2015/10/2How to get start using Google Font API
Javascript default behavior of load method
2014/8/2·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/8/2·1 min readThis blog shows how to use nohup + repawn.js to keep node.js web application running. Node.js/Express.js is great for Web API’sand applications. In contrast to known enterprise technologies, Node.js is very special. It’s a single process/threadedenvironment. If an unhanded exception occurs, the Node.js virtual machine simply stops, leaving the application in an unresponsivestate. Due to the async nature of Node.js, try/catch doesn't always work, even with domains and stuff you have a chance that theapplication crashes on production while you sleep. from http://java.dzone.com/articles/how-keep-nodejs-processes. This's node.js,it's different.
How to Use MongoDB TextSearch by Mongoose
2014/8/2·1 min readHow to use MongoDB text search
Few Useful Links About JavaScript Best Practices
2014/7/5·1 min readFew collections about best practices of JavaScript.
How to Get Start by Using Express.js
2014/6/7·1 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 Yeoman, Brower, Grunt, Angular.js and Node.js
2014/6/7Get 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 with Mongoose
2014/6/21This article provide information for you to get start with mongoose.
Code Snippet - How to Add CSS Class to Jade
2014/5/31Code Snippet - How to Use Variable with Jade
2014/5/31JADE VARIABLE EXAMPLEfollowing h1 will show's the "hello, h1 will be this."- foo = "hello, h1 will be this." h1=fooMORE EXAMPLE YOU CAN FIND AT HERE.Jade Variable example [http://naltatis.github.io/jade-syntax-docs/#variables]