balderdashy / waterline-docs

WARNING: The content in this repo is out of date! See https://github.com/balderdashy/sails-docs for the most up-to-date documentation
452 stars 163 forks source link

Add documentation for loading collections and initializing waterline #52

Open devinivy opened 9 years ago

devinivy commented 9 years ago

Adapters and connections configuration info is missing here. Also need to document how to extend and load model definitions. Basically, we need to document how to initialize waterline, drawing all the necessary connections between adapters, connections, and model definitions.

dmarcelino commented 9 years ago

:+1: Some of that info already exists in "code format" in waterline example which can be used as a base for the docs.

tribou commented 9 years ago

:+1: Tried reading through the waterline example, and formal documentation would definitely help onboard new users. Ironically, @devinivy's example in the waterline-fixtures package README helped the most for me.

Docs relating waterline functions to formal database migrations used for testing would be helpful as well. e.g. An example dropping/rebuilding all models before a test.