I've recently gotten a contract for me to integrate an API with an AngularJS frontend, I'm quite new to freelancing and I've only got roughly two projects under my belt, all be it larger than normal, one taking six months and the other is at around 5 currently.
However this new gig that i've got, i've just been sent the code, I just got sent a zip file with the code in it and I'm not trying to be arrogant or anything but the code is, in my eyes bad. I feel like I would have to do a lot of extra ground to get anywhere with implementing the API, does anyone have any advice on how I should proceed? Should I try and coax a redesign or should I just hand him back the code and leave it at that? Any advice would be appreciated