"The future seems promising lets always be after it."
Get link
Facebook
X
Pinterest
Email
Other Apps
-
Day one
Hello brothers with unicon we gonna be discussing about programming in detail.The first thing that we will cover is the course scope, from scratch to advance.
12 Factors of a Scalable Microservice . I. Codebase One codebase tracked in revision control, many deploys A twelve-factor app is always tracked in a version control system, such as Git , Mercurial , or Subversion . A copy of the revision tracking database is known as a code repository , often shortened to code repo or just repo . A codebase is any single repo (in a centralized revision control system like Subversion), or any set of repos who share a root commit (in a decentralized revision control system like Git). There is always a one-to-one correlation between the codebase and the app: If there are multiple codebases, it’s not an app – it’s a distributed system. Each component in a distributed system is an app, and each can individually comply with twelve-factor. Multiple apps sharing the same code is a violation of twelve-factor. The solution here is to factor shared code into libraries which can be included through the dependency manager . Ther...
How to hide credentials in application.properties create env.properties add it to .gitignore env.properties after that inside it fill the credentials DB_DATABASE =NameofyourappSavedIntoYourDB DB_USER =yourUsername DB_PASSWORD =SuperStrongPassword API_KEY =superkey import it in application.properties this will enable to access it but still not committing the credentials spring .config .import =file:env .properties spring .datasource .url =jdbc: h2 :file:~/${DB_DATABASE} spring .datasource .username =${DB_USER} spring .datasource .password =${DB_PASSWORD}
Why should you choose yarn over npm What is Yarn? Yarn is a JavaScript package manager created by Facebook. Yarn stands for Yet Another Resource Negotiator. It provides similar functionalities as NPM. It is an alternative to NPM when installing, uninstalling, and managing package dependencies from the NPM registry or GitHub repositories. Installation NPM is bundled with Node.js Runtime . It is Node.js Default Package Manager. In other words, when you install Node.js , NPM gets installed. To install a package using NPM, you use the syntax below. npm install <package name> . The package name can be any package you want to use in your project. For example, to install Express run npm install express . Some more distinct NPM package installation include: npm installs <package name> -- global . These are packages you install into your computer system’s local path and not your project location. Such packages can be used or accessed by any project you ...
Nice that
ReplyDelete