- Check to make sure you have node installed on your machine
- Go to the project root directory
- run
yarn serve
ornpm run serve
in the terminal. Alternatively, you can runnode index.js
via the command line as well. - go to
localhost:3000/image.jpg
to serve the image.
samwhiteiv/server-net
Server spun up using Node & Net. Go to localhost:3000/image.jpg to serve the image.
JavaScript