Deploy a PHP Application on AWS Lambda Function Serverless

Deploy a PHP Application on AWS Lambda Function Serverless In this post, I will explain the steps to deploy a simple PHP email MX record validation application on AWS lambda function using Bref layers. AWS Lambda natively supports Java, Go, PowerShell, Node. js, C#, Python, and Ruby code, not PHP. You can deploy the lite weight PHP function to improve…

Continue Reading

Pocketbase Hosting on Apache or XAMPP

Pocketbase Hosting on Apache or XAMPP Pocketbase is an open-source application and alternative to Google Firebase. This is offering realtime database, authentication(including social), and file storage for your next web and mobile application. This article is about how to host the Pocketbase application server which usually runs at 8090 port with your existing application server. If you are using Linux…

Continue Reading

React Removing Unused CSS and Obfuscate JavaScript in Post Build Process

React Removing Unused CSS and Obfuscate JavaScript in Post Build Process This is continues of my previous post about how to remove unused CSS and convert unclear JavaScript to protect your source code in the post-build process. If you are using CSS libraries like Bootstrap, Tailwind CSS, etc.. and sometimes multiple frameworks. But your application components are not using all…

Continue Reading

Angular Removing Unused CSS and Obfuscate JavaScript

Angular Removing Unused CSS and Obfuscate JavaScript Nowadays most of the applications develop based on large CSS libraries like Bootstrap, Tailwind CSS etc.. and sometimes multiple frameworks. But your application components are not using all of the styles and it adds more weight on the application performance. This post will explain the Angular post-build process to remove unused CSS and…

Continue Reading

Host a Website on Your Home Raspberry Pi

Host a Website on Your Home Raspberry Pi The Raspberry Pi is a low cost device and it consumes low power. It can be used as a web server with your home internet and you will have complete freedom to implement ideas. Nowadays popular cloud services are costing high for the same specifications and recently banned some websites for showing…

Continue Reading

Cypress UI Automation End to End Testing

Cypress UI Automation End to End Testing UI automation is the most important part of the CI/CD(continuous integration and continuous delivery) process. Integration testing helps you to avoid manual regression testing and improve the application quality. In this post I will explain how to implement UI automation testing to existing Angular projects using the Cypress tool, this is a great…

Continue Reading

Automated Deployment of PHP Application using Github Push.

Automated Deployment of PHP Application using Github Push. Nowadays most of my side projects are managed with Github. It has more advantages and flexibility to manage file versions. I am following a different webhook system to automatically deploy my old PHP projects. Not sure about the standards, but the following solution is an alternative approach that may solve your deployment…

Continue Reading

Environment Variables in Apache and Xampp

Environment Variables in Apache and Xampp Few days back one of my friend’s project database credentials got exposed. After some investigation, we realized that it is because of the .git config commit. I would recommend configuring your sensitive credentials with operating system environment variables. This way you can protect information from the code base. This post will explain how to…

Continue Reading

Setup SSH authentication with PEM RSA file without password on ubuntu/linux server

Setup SSH authentication with PEM RSA file without password on ubuntu/linux server Recently I have been working with Raspberry PI and creating my own home server to host some of my demo projects. This post is about setting up SSH authentication with a PEM certificate file without password on ubuntu/linux server. Implement the following steps and improve the security. Go…

Continue Reading

Upload Files from Ionic Angular to Firebase Storage.

Upload Files from Ionic Angular to Firebase Storage. Nowadays Google Firebase is my most favorite application. This is offering great web solutions like hosting, authentication, storage and database in a simple way. This article explains how to upload images(supports video) into Firebase storage with Ionic and Angular applications. This covers the user authentication part to protect storage uploads and improving…

Continue Reading