MEAN stack with ionic 3


#1

I have a doubt like where should I use the server code(server.js), in-app directory or in a separate folder?


#2

Keep your client side code and server side code separate. I generally structure projects with servers like this:

  • client
    • (ionic app)
  • server
    • (server code)