Re: [Mojolicious] Best practices for embedding a javascript app in a Mojo app.

2019-11-07 Thread Alberto Mijares
Thank you. You made me think better. Regards, Alberto Mijares On Thu, Nov 7, 2019 at 11:54 AM Dan Book wrote: > > It's really just an organizational question. You can easily have the > javascript and the API as two separate projects and design them to work > independently, or as the same pr

Re: [Mojolicious] Best practices for embedding a javascript app in a Mojo app.

2019-11-07 Thread Dan Book
It's really just an organizational question. You can easily have the javascript and the API as two separate projects and design them to work independently, or as the same project so you can more easily coordinate changes between them. In either case something will need to serve the javascript files

[Mojolicious] Best practices for embedding a javascript app in a Mojo app.

2019-11-07 Thread Alberto Mijares
Hi guys, I need to write an API with its front-end in javascript. There's a node module I can install with npm that would be very helpful. Is it a good practice to have both projects in the same tree? Should I have separated projects? I never had to deal with frontend development before, so I hav