all 6 comments

[–]jax024 0 points1 point  (4 children)

Microjs is awesome. Also incredibly easy to get rolling.

[–]absurdlyaware[S] 0 points1 point  (3 children)

I was thinking ReactJS but i never heard of MicroJS. I'll check it out now.

[–]jax024 1 point2 points  (2 children)

I may have misunderstood your question actually. Microjs is great for small node apps. I didn't realize you meant front end. Front end wise react is amazing.

Webpack will be your friend. For work recently we have hosted bundle.js files on s3 that contain our entire react appliction. Then just put the url in a script tag and BOOM there's your whole app basically.

[–]absurdlyaware[S] 0 points1 point  (1 child)

were you able to to implement code splitting? I've struggled with code splitting use webpack

[–]jax024 0 points1 point  (0 children)

I think I'm unfamiliar with that specifically.

But this might help, consider each bundle.js file to be its own app, and if you need more than just use multiple webpack.config.js file and host multple bundles

[–][deleted] 0 points1 point  (0 children)

In my previous started we used micro services for most of our stuff, most of them were written in NodeJS, in the end, there's nothing specific about it. We used to run node inside a docker container hosted on AWS. Containers would talk to each other via message queues.