Run the command to create an API without front end

sails new myApi --no-frontend

If sails is arguing about grunt file when sails lift just add this peace of code to sailsrc

"hooks":{
    "grunt":false
  }

Por Marcos Mendes @marcoshmendes