Hello Ionic framework developers and professionals. I am building an application where I am creating online quizzes for school children and therefore I am making the teachers to add the quizzes in the application, so my application needs authentication and database interaction. I am planning to make it happen with restful api, and this is all of the plan in brief.
I used to write server.js file at the main directory of the MEAN stack application, now I am making the hybrid app and on ionic framework. I run $ ionic serve to start the dev server of the app, this is okay with the client side stuff.
But while doing the database interactions I need to deal with server.js and various modules involving in the app. So where I write the server side code for my project in ionic framework ,
Do I need to make another angular module that does this work, (possible)
But I want to go with the MEAN structure and therefore created server.js now how to make ionic serve recognize my server.js file as well.