Edit Page

assets/

This is your assets folder. It houses all of the static files that your app will need to host. Feel free to create your own files and folders in here. Upon lifting, a file called assets/newFolder/data.txt could be accessed at http://localhost:1337/newFolder/data.txt.

Want to see for yourself?

An example of this directory can be found in our sample app repo, here.

Anatomy of a Sails App