Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
As a back end dev, how can I make life easier for the front end devs?
3 points by dundercoder on Feb 10, 2017 | hide | past | favorite | 3 comments
I SUCK at front end, but I love backend web development. For dynamic data (forms, db query returns, etc) the easiest thing for me to do is accept/return everything in JSON. A pure JSON based REST API if you will. Am I creating heaven or hell for someone on the frontend? What can I do to make their lives easier?


I would say that working closely together with the front-end devs is key. Listen to what they are trying to do, and see where you can help. Mind you though, that it should be balanced, because you want to avoid doing work that is unnecessarily complicated to make the life of the front-enders better.


If you are planning to have a REST API. The single best thing you can do is to setup automated API documentation.

Checkout https://dredd.readthedocs.io/en/latest/


- Automation. Automate builds, blue/green deploys, automate building and provisioning the feature branches so they can be tested and quality controlled.

- Document everything not automated.

- Create version matrixes that are automatically updated and easily available (JSON, YML, Markdown)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: