1,4-phenylenediamine based covalent triazine framework has been synthesized and characterized. High nitrogen content in these material renders them good electrocatalytic activity even without carbonization. The material shows good catalytic activity towards the electrochemical reduction of nitrobenzene and oxygen evolution reaction (OER).