If there is no index.js file then create one and export your .js files like so:
index.js
.js
Once that is done, go to your respective files and export the functions in the file by writing this at the end of your file: