Another Tech Blog

Vscode extension kill-process

while developing webapps often you have this moment when you need to remember the commands to kill process by port, usually it is more then one commands and when i move from os to os the command is changed, so my solution for that was first of all to create…

The web has evolved. Finally, testing has too.

Fast, easy and reliable testing for anything that runs in a browser.Cypress is a complete end-to-end testing framework, in this post i will guide you through how to get started and use this great tool to test ui. Setup: Installation: yarn add cypress --dev package.json "scripts"…

Open Source Dashboard (for js developers)

Javascript open source maintainers often having hard time to track after their npm packages status. I used until resently npm-stats.com to get npm information about my packages, recently the site stop to work, so as a coder it was easy decision to start working on a clone. The package…

Serverless Integration Test with Offline Plugin

The Test we are going to create today will demonstrate adding an integration test (api test) to your serverless project. The Tech Stack: NodeJS, Jest, Serverless Framework, and the Serverless offline plugin. The test going to cover the /search route from my devresorces project. In order to test a route…

Automatically serve Swagger ui for Api Gateway documentation

When developing serverless function over the aws cloud platform, you also creating an open api definition (swagger documentation), in order to download the file easily from the command line you can use tools like aws-cli or npm package . Checkout this post for more details. OK! so now what ? we have…

Export Swagger documentation file from AWS ApiGateway

When developing serverless function over aws lambda, it is very useful to export the documentation as a swagger file, and create api documentation to your api. to make the process easily accessed i created npm module apigateway-export-tool that does exactly that. npx apigateway-export-tool list npx apigateway-export-tool docs -i [api-id] --stageName…

Bootstrap your next project with npm init

With latest npm versions you can trigger npx with npm init. Try it out with: npm init react-app Basically behind the scene npm init will run npx create-react-app Base on that knowledge, let's create a bootstrapper package and deploy it to the npm registry. The bootstrapper I decided to create…

Devresources.Site

Collection of popular libraries and frameworks, an incredibly useful tools for speeding up your next project development.…

Getting Started With ELK Stack By Building Uptime Monitor.

What is ELK? long story short,ELK stand for Elasticsearch, Logstash, Kibana. Elasticsearch is a full-text, distributed NoSQL database. Logstash is a tool for collecting, parsing, and storing logs for future use. Kibana is an open source analytics and visualization platform designed to work with Elasticsearch. There is one more…