There are some security flaws in the project as a result of various outdated project dependencies that came to my attention after I forked the repository and dependabot alerted me to them.
Solution
Simply migrate the project dependencies to the most recent versions and make the necessary changes to the code due to version differences.
Closes #14
What's in this PR?
[x] Update dependencies to latest versions
[x] Improve structure by renaming .env -> .env.example
[x] Added Request & Response types in metrics.ts
[x] Fix syntax issues raised due to dependencies update
Issue description
There are some security flaws in the project as a result of various outdated project dependencies that came to my attention after I forked the repository and dependabot alerted me to them.
Solution
Simply migrate the project dependencies to the most recent versions and make the necessary changes to the code due to version differences.
What's in this PR?
.env
->.env.example
metrics.ts