Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generating only backend in sails.js

I am building an Sails.js app which would potentially have a single frontend worker and lots of backend workers.

These backend workers would not answer requests - they would process data for themselves, and store it for consumption by the frontend.

Is it possible to sails new an app without all the frontend scaffolding?

like image 614
amyspark Avatar asked Oct 25 '25 05:10

amyspark


1 Answers

Yes, you have to use the command --no-frontend, for example:

sails new project --no-frontend

This will generate a project without the frontend scaffolding.

like image 134
David Leyva Siqueiros Avatar answered Oct 26 '25 17:10

David Leyva Siqueiros



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!