Seems like it's a trivial task but NO. You can't use Samba because of OS compatibility, FTP is too hard to understand and install and other things.
But there is a simple way to do this - use nodejs http-server!
If you're using your PC for development you've already should hav nodejs and npm.
Install the http-server package globally:
npm install -g http-server
Goto the folder which you want to share and type in Terminal: