Node.js REST & GraphQL Integration
Publicada el 2026-07-17
Descripción de la oferta
I have a mature JavaScript / Node.js codebase that now needs robust API connectivity. The goal is to wire in several external services—some exposed as classic REST endpoints, others as GraphQL—so the application can consume, transform, and surface that data seamlessly to the front-end. Here’s what I need from you: • Analyse the existing structure, identify the best touch-points for new service layers, and keep everything idiomatic to Node.js (Express, middleware, async/await). • Build out the integration layer for both REST and GraphQL calls, including token management, retries, and intelligent error handling. • Return clean, typed responses (TypeScript definitions or JSDoc) so downstream modules stay type-safe. • Write concise unit and integration tests with Jest to prove each endpoint works against mocked and real services. • Document every new route, resolver, and env variable so future contributors can follow the flow without guesswork. Acceptance criteria 1. All configured endpoints return data in <200 ms on local benchmark. 2. Tests cover at least 90 % of new lines and pass with `npm test`. 3. Running `npm run lint` shows zero new issues. 4. A short README update explains setup, environment variables, and example requests via Postman or cURL. If you have deep experience with Express, Axios/fetch, Apollo Client/Server, and enjoy writing code that other seniors will admire, let’s talk.
Skills
Fuente original: freelancer