.env and .env.example

These files specify configurations for the application

<aside> 💡

Files mentioned in .gitignore aren’t committed. .env file shouldn’t be committed and is put in .gitignore

</aside>

.env

Configurations for application

Some of the important configurations:

.env.example

Sample configurations for application, mirroring .env without secrets such as tokens and passwords

config Directory

Values in .env are used in .php files inside config directory

routes/web.php File

This file is used to specify routes

<aside> 💡

A route is a function that returns something

</aside>

Returning a View