AdonisJS - Generate database code already created [closed]

1

I have a question. I would like to know if it is possible. I have a mysql server already running a template of mine, with tables already created and their fields. Is there a way to connect a Node project, Adonis, and take advantage of my Mysql tables to generate the source code?

    
asked by anonymous 10.07.2018 / 03:29

1 answer

2

I do not know the adonisjs, but the node and express yes and with it it is possible, just encode the model in the node according to the rules of the tables in your database and then you can consume all the available information. You can use native modules of mysql or even sequelize will work fine.

Edit: I have a search in adonisjs and from what I read with it it would also be possible, I might be being frivolous, but if it is everything I read it will consume the data well.

    
17.07.2018 / 02:14