Configure environments in Angular

Configure environments in Angular

In this post, I am going to discuss about configuring environment settings in a angular application using angular-cli. The solution was tested only in version 7. Create a new angular project using the following command. ng new env-demo Let us assume that we are having three different databases for dev, uat and production. Locate the environments folder. You will see two files a) environment.ts – settings for the development environment. b) environment.prod.ts – settings for the production environment. Add one…

Read More Read More

Setting up TypeScript in Visual Studio Code.

Setting up TypeScript in Visual Studio Code.

Install Node NodeJS is a server side JavaScript framework but also used in a lot of frontend technologies as a package manager for various js plugins. Whether you are a JavaScript developer or not, you must learn the basic of nodejs. You can install nodejs from nodejs.org After installing node, verify it by going to the command line and run these commannds.

you should get the version numbers for both the commands. Install TypeScript TypeScript can be installed in…

Read More Read More