An environmentally friendly alternative synthesis process is desired to produce NH3 with no CO2 emissions and low energy demand in a sustainable and ecological way in the future. The electrochemical method assisted by earth-abundant materials has been widely utilized for the chemical energy conversion. We have developed new earth-abundant layered structure metal sulfide based materials as active catalysts for electrochemically nitrogen reduction reaction. From electrochemical analysis, the Faraday efficiency of MoS2 and FeS2 for NRR can be achieve to~27% and 14% with good catalytic stability, respectively. The energy profile of the NRR reaction pathway on the catalysts will be performed by the density functional theoretical (DFT) calculation. Besides, there have been lots of studies on hydrogen evolution reaction (HER) catalytic activity using ultralow loading of Pt catalysts or even Pt single atom catalysts as well. However, Pt single atom deposited on the surface of the carbon or metal oxide material showed some drawbacks, such as high possibility of Pt desorption from the supported material in the electrolyte. Our work demonstrated that gold nanodendrites (Au NDs) with high facet surface was chosen as the supported materials for studying the relation between the low loading amount of Pt atoms and reaction mechanism of HER activity. Overall results provides a feasible approach to morphological control of metal sulfide and atomic deposition of Pt element on the specific substrate as active catalysts for NRR and HER applications, respectively.