A website for converting and editing shapefiles to geojson
You can post the service to convert shapefile into geojson
curl -is -F shp=@newcounts.shp -F dbf=@newcounts.dbf localhost:8080/shptogeo.json
curl -is -F shp=@newcounts.shp -F dbf=@newcounts.dbf -F prj=@newcounts.prj -F shx=@newcounts.shx localhost:8080/shptogeo.json