Example of how to use 'fetch' to retrieve a file and get it's contents.
The calls to 'fetch' are made in index.html. index.html shows how to retrieve a .txt file, a .csv file, and a .json file using fetch.
Output is printed to the console. When the project is running from 'npm run start' you can open the inspector to see the output.
- Clone the git repository
- To run the server run 'npm run start', or 'node server.js'. It listens on port '3000'
- Open your web browser and go to localhost:3000