- Check to make sure you have Node installed
- 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-http
Server spun up in Node. Go to localhost:3000/image.jpg to serve the image.
JavaScript