Mean.io + Ionic web and mobile app seed?


#1

Hi, everyone. I am a big fan and user of the mean.io seed: http://mean.io/#!/. It would be a great integration with Ionic to use it as a foundation for a robust dual web and mobile app framework. Is there some genius in the community who wants to fork mean.io and integrate Ionic? People would LOVE you and you would be famous. :smile:

Thank you,

Brendan


#2

This sounds really interesting. What kinda of integration you looking for?

I’ve setup a Ionic project with Parse for backend which is very similar to working with Node so I was able to share a lot of code between mobile and server


#3

Hi,

I’m current working on an ionic app that is supported by a mean.io backend. This will be my first ionic app and second mean.io app.

It’s coming along very well - but as two separate projects with mean.io providing a REST API for the app as well as an administrative interface. We don’t currently have a requirement for a public web front-end per se.

I can’t help but thinking you’re barking up the wrong tree by wanting to somehow integrate the two though. The M, E and N in MEAN are all server-side components and have little to do with mobile application development.

I can sort-of imagine a mean.io package that would be (or would generate) your Ionic application but I’m not sure I can see the potential benefits.

What specific benefits would you expect from such an integration?


#4

We often have clients who want a app that functions via the web and as a mobile app as well. They want these styled similarly, drawing on the same data.

We are experienced with Angular and it would be great to be able to use Angular to deliver the views in web and on mobile. And it would be a timesaver to have the same sass framework set the styling on all devices.

Plus we are primarily a web shop and using Angular plus Ionic would allow us to deliver mobile apps as well as web apps.

Regarding the backend, Node/Mongo is my preferred server side infrastructure and I want to move us away from PHP/Apache for most of our projects.

Those are the benefits of a MEAN + Ionic integration.

Best,
Brendan


#5

Hi @bmiller59,

you may create a new package using the command

mean package <packageName>

And set view as public in the app.js file in your custom package folder.

app.set('views', __dirname + '/public/views');

Load the ionic bundles in the index file.
Not sure this is the right way. Hope this would help you.