this is partially done code for backend API on my porfoliosite