vendredi 20 février 2015

Create an API directly from a data source

I need to create my own REST API. I just saw strongloop and loopback and I thought it will be perfect for my project.


In fact, I was able to get mysql connected using strongloop. However, I had to create something called a "model" and I did it. But, it was like creating a new model from scratch and use it for persisting on the Datasource.


Instead, what I was looking for, is to get a REST API directly from my model on the DB. I mean taking the models from each table on the DB and then set them up as web services.


Is that possible?


I am newbie on these technologies, although I think it is an interesting question.


Thanks


Aucun commentaire:

Enregistrer un commentaire