Can anyone provide sample env file and instructions for config settings?

I was trying to understand how the server but I noticed in repository there is no .env file

And why should there be an .env file? Read the README.