Adonisjs - Generate code from database already created

Asked

Viewed 181 times

1

I have a question. I’d like to know if it’s possible. I have a Mysql server already running a model of mine, with tables already created and their due fields. Have some way to connect a Node project, Adonis and leverage my Mysql tables to generate source code?

1 answer

2


I don’t know the adonisjs, but the node and express yes and with it is possible yes, only encode the model in Ode according to the rules of the tables of your database and then can consume all the available information. Native modules of the mysql or even the sequelize will work well.

Edit: I did a search on adonisjs and from what I read with it would also be possible, I may be being frivolous, but if it is all I read it will consume the data well too.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.