movie index project using postgres db