Nginx http://nginx.org/
Spawn fcgi http://redmine.lighttpd.net/projects/spawn-fcgi
PostgreSQL http://www.postgresql.org/
sudo apt-get install libpq-dev gcc -I/usr/include/postgresql/ -L/usr/lib/postgresql/9.3/lib/ -o ./pgtest pgtest.c -lpq
gcc -I/usr/local/include/ -I/usr/include/postgresql/ -L/usr/lib/postgresql/9.3/lib/ -o /path/to/source/cblog/bin/cblog /path/to/source/cblog/src/cblog.c /usr/local/lib/libfcgi.a -lpq
spawn-fcgi -a127.0.0.1 -p9002 -F1 /path/to/source/cblog/bin/cblog
upd: change to md5 http://www.treshna.com/psql-fatal-ident-authentication-failed-for-user-username-error-and-solution/
- Learn to get POST and GET requests
- Create Post struct
- Move database functions to another c-file
- Move functions for render html to another c-file
- Implement functional for create and edit posts