Cezerin is React and Node.js based eCommerce platform. Allows creating a Progressive Web Apps. Built with: Node.js v8.9 React v16 Redux Express Babel WebPack 4 MongoDB Store Single-Page Application with React server-side rendering. Demo store
Securing Cookies
Prevent the use of a cookie on the client side with HttpOnly A cookie can be set and used according to the instruction of a web server, but also directly on the web browser via JavaScript. In an XSS breach case, an attacker could inject some Javascript, and potentially access to the cookies that, as …
Rx JS
RxJS is one of the hottest libraries in web development today. Offering a powerful, functional approach for dealing with events and with integration points into a growing number of frameworks, libraries, and utilities, the case for learning Rx has never been more appealing. Couple this with the ability to utilize your knowledge across nearly any language, having …
Scheduling Jobs on the Server for Meteor project
Scheduling jobs and running them on the server is one of the main problems we need to handle on our projects since it helps a lot of stuff such as auto email sending functionality, auto data pulling functionality, auto cleaning functionality etc. We are normally using daemon to schedule and run jobs on the server. …
Mup (Meteor Up)
There are several ways to deploy the meteor project to the server. Mup(Meter Up) is one of them widely used in development meteor applications. It deploys the meteor app to the server automatically with few commands. Behind the Mup, docker containers are running on the server for app and database. Since it is very popular …
General steps to create the WP plugin with Google API integration
Sometimes we need to build the WP plugin with Google API integration. Here are the big image of the steps to create it. Create the project on the google developer console, and install proper Google Api Implement the Google Authentication module using Client Id and Client Secret which Google provides. Build the plugin consuming the …
TabIndex
The tabindexglobal attribute indicates if its element can be focused, and if/where it participates in sequential keyboard navigation (usually with the Tab key, hence the name).Some html elements like div tag are not focusable by default. It means, they are not selected by pressing Tab key.But in some cases we should need to select div tags by pressing Tab …
Some git utilities for better life.
git gc This command cleans up the git repo and reduces the size. If we use git rebase constantly, repo size becomes significantly larger and we can resolve this by using git gc command. git-quick-stats This is git utility which displays git activity statistic data in the console. diff-so-fancy This is git ubility which displays …
offline.js
offline.js is a npm package which returns the status of website(offline or online) Use Case: Web page is loaded, and then network connection is dropped. We should alert user about it. Offline.js hooks the offline event and we can use it to alert user. https://github.com/hubspot/offlinehttps://www.npmjs.com/package/offline-js
CSS pointer-events
The pointer-events CSS property sets under what circumstances (if any) a particular graphic element can become the target of pointer events. When this property is unspecified, the same characteristics of the visiblePainted value apply to SVG content. In addition to indicating that the element is not the target of pointer events, the value noneinstructs the pointer event to go “through” the element and …