News for hackers. Stuff that matters.
Re:Simple API with Nginx and PostgreSQL by taf2 on Friday July 26, 2013 @01:26PM (#6109317)
very cool, add in some lua scripting and you can get some pretty solid single purpose endpoints: http://wiki.nginx.org/HttpLuaModule

maybe not perfect for a whole app but maybe depending on your goals.

Re:Simple API with Nginx and PostgreSQL by moens on Friday July 26, 2013 @02:00PM (#6109521)
Can you recommend a public repo which demonstrates use of the HttpLuaModule? [Edited to add:] Another comment mentions the Lapis framework which gives [me] a good starting point.

@subs: thanks!

Re:Simple API with Nginx and PostgreSQL by chanux on Friday July 26, 2013 @02:23PM (#6109659)
Re:Simple API with Nginx and PostgreSQL by iamlacroix on Friday July 26, 2013 @02:15PM (#6109607)
You can also check out a simple example[1] used for the TechEmpower Benchmarks[2].

[1]: https://github.com/TechEmpower/FrameworkBenchmarks/tree/mast...

[2]: http://www.techempower.com/benchmarks/

Re:Simple API with Nginx and PostgreSQL by justincormack on Friday July 26, 2013 @02:17PM (#6109618)
There is a presentation here that goes through the basics. http://www.londonlua.org/scripting_nginx_with_lua/index.html