Wow, it's been a while since I last posted. Liferay 6.1 EE has just been released and it's changed so much! I decided to build a node.js app that calls Liferay using the improved JSON web services. Really, I think this could work just as easily with 6.0 but whatever. The project currently grabs the layouts of the Guest community and displays the portlets as widgets and using bootstrap for default styling.
There's no reason for this project but I did it just to do it so it's more of a hacked together project but here it is for anyone interested in improving it or playing with it:
https://github.com/david-truong/liferay-node-bootstrap.
You will need a liferay 6.1 server running on 8080 using test@liferay.com/test.
Potential use cases:
- Write a mobile site
- Write a new frontend
- Integrate Liferay with another node app using this as an example
Things that might be fun to improve:
- Grabbing the portlet data and writing our own front end
- Adding user authentication
- Add token authentication to Liferay so I don't have to hard code a user in my code.
That's it! Hope my next post comes a lot quicker than this one.
Take care


