GitHub repository: Esri/add-shapefile-js
Description: ArcGIS JavaScript sample that let's you add a shapefile to your web map.