Config folder contains one of the important files in contains main setting for your laravel application for example database connection , Api keys ,queue etc.
config returns an array .to access an array we need to use config key with file name
and descendant key separate by dot(.)

For example if you have config file as


return [

‘social’ =>


‘facebook_username’ => ‘john doe’ ,





To access this array of socialname.php file from config directory
you have to use config keyword




Backtick are also know as template literals, template strings, fancy strings. it was introduced in the es2015 is denoted by ``.

Example :

Let Assume we need to combine constant and string in our Nodejs application.

our snippet is basic route in Nodejs application where api variable having value of any URL link for example

let api = “api/v1”;

Now what we are trying to do is we are trying to combine constant and string without using “+” operator. both code work but in JavaScript we have better way of doing this and that is by using Backtick.

Without using Backtick:

without using Backtick
Without Using Backtick

Using Backtick:



Azen Moktan

Azen Moktan

A highly resourceful, innovative, and competent Software Engineer with extensive experience in the design , coding and problem solving .