1 / couchapp is just a tool that pushes a project document with a view, display, list of functions, etc. The default couchapp created explicitly contains code, as it is the most common way to write couchapp. There are other tools:
2 / You can expand any attachment and, indeed, everything that is usually found in the project document. Check out couchapp.org for more information on couchapp.
3 / WAR file is Java code, it will not lead you to anything with CouchDB.
source share