I\'m trying to get Loopback to discover and build my first table. I\'ve used the simple example on their page at the bottom here:
http://docs.strongloop.com/display/LB/D
discovery api is used to only discover the schema not to create models for now. please use the following project to create models with one to one and one to many relationships and all the models.
https://github.com/savsharma2/loopback-sql-create-model-with-relation/