The main problem in front-end projects that they are working in the browser, so it will be too hard and not logical to access Docker env variables on the server from the FE project in the browser. Usually, these projects Docker containers compose of Nginx container that is serving the project to be loaded to the browser. The trick to turning around this problem is to find a way to load these variables inside the final build of the FE project, so the project can use them in run-time in the browser.
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by Ahmad Mhaish
CI/CD Pipeline for Fission.io
A good practice would be to categorize your functions inside folders according to their purposes, and then you can have a create and update scripts for easy creating and updating these functions, like: fission function create --name function-name --code function.js --env nodejsfission httptrigger create --url /something --method GET --function function-name For creating the function and its HTTP trigger as an example, and the next command: fission fn update --name function-name --code...
Algorithms to Detect Anomalies in Images
Detecting outliers in images is not an easy task, and can’t be done efficiently using some famous outlier detection algorithms. Like it will be too hard to detect outlier images using statistical methods like the Z-Score algorithm or Boxplots. While the DBScan clustering algorithm designed when the distribution of values in the feature space cannot be assumed, but applying that algorithm for this application is not clear forward.
TDD vs TLD and what is the minimum code coverage needed
Test Last Development (TLD) and Test Driven Development (TDD) are two major testing processes. We will talk about the difference between these two, what is the best one that suits start-ups, and to which level of code coverage that may do the balance between bugs free and fast feature releasing.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with Ahmad
Contact Ahmad, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack