TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How well do your front end and back end teams work together?

3 点作者 bryan_cooper大约 3 年前
After working across the stack, it seems to be a rare find when you see front end + back end teams functioning together well. What tools / processes / rules does your company (2+ person eng team) use to communicate between front & back end teams?

5 条评论

baash05大约 3 年前
I&#x27;m a BE dev, and I can say (from my perspective) we work really well together. It&#x27;s a REST system and when a FE needs something me and my fellow BE teammates do all we can to give them that something.<p>During development they use moc&#x27;s for the payloads that we&#x27;re not ready to give them. When we build things FOR them all members are happy.<p>A good rule is to have the teams come to an agreement on the data that they need to show the user. Then have the BE team build out a rough payload.<p>Paired programming on features is always good.<p>Myself personally. I have a simple thing to keep in mind. FE keeps the customer happy, I keep FE happy, ops keeps us all happy. As long as BE remember they are there for the FE, everything flows smooth.
Klaster_1大约 3 年前
Sometimes smooth, sometimes not so.<p>We use FETCH&#x2F;HTTP and STOMP&#x2F;WS to move the data, the main issue has always been spotty communication inside the team. A while ago, the situation was even worse, so some progress did happen. OpenAPI annotations to generate Swagger docs helped a bit, but I rarely bother to open these. Drafting endpoint signatures in TypeScript as a part of our workflow yielded great results, something concrete to talk about when things don&#x27;t work as expected or during code reviews. Unfortunately, the agreements are as good as initial requirements, if the team does not understand or communicate these clearly, misunderstands are bound to happen. The other pain point is that OpenAPI only supports HTTP (<a href="https:&#x2F;&#x2F;github.com&#x2F;OAI&#x2F;OpenAPI-Specification&#x2F;issues&#x2F;55" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;OAI&#x2F;OpenAPI-Specification&#x2F;issues&#x2F;55</a>), there&#x27;s no documentation for STOMP endpoints and custom RPC run over it. Another thing is when signatures change unexpectedly (I know, this should never happen; at least integration tests help here) in subtle ways and the UI suddenly starts misbehaving; types shared between frontend (TypeScript) and backend (Java) can partially alleviate the issue, but none of available tools provide what I&#x27;d really like to use, the results are either not expressive enough (no ADTs, unlike types authored by hand) or really hard to reconcile with existing code base.
linkdd大约 3 年前
Documentation and communication is key.<p>The frontend team will be using the APIs provided by the backend. It should at least be fully documented to avoid unnecessary back and forth.<p>Regular &quot;get together&quot; meetings (remote or not, not necessarily with everyone) can help exchange pain points and prioritize issues. But not too often to impact productivity.<p>Basically, the backend team should know what the frontend team needs to consume. And the frontend team should know what the backend&#x27;s technical limitations are. Trust in each-others expertise is also important IMHO.
benitez大约 3 年前
FE dev here. In my day to day work, I often find there is a communication disconnect between our FE and BE teams. We communicate over slack and in JIRA ticket comments but there is undoubtedly at least one aspect of a UI element I&#x27;m working on that has something not functioning as expected on the backend. I feel like if we just had more meetings or somehow cleaner lines of communication this would be avoidable.
Mondialisation大约 3 年前
I&#x27;m a front-end dev and recently started working independently with back-end dev, we look for clients to work for. We&#x27;re mostly doing MERN. One thing that ended up being the most helpful tool for us is postman because it includes the ability to make very easy-to-navigate API documentations allowing me to quickly jump between endpoints without having to spend too much time finding out what data it&#x27;s expecting and returning. <a href="https:&#x2F;&#x2F;learning.postman.com&#x2F;docs&#x2F;publishing-your-api&#x2F;documenting-your-api&#x2F;" rel="nofollow">https:&#x2F;&#x2F;learning.postman.com&#x2F;docs&#x2F;publishing-your-api&#x2F;docume...</a>