<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/creating-a-gateway-service-with-node-js-typescript-and-fastify--yl-djpegb" -->

---
title: Creating a gateway service with node js, typescript and...
description:  gateway is an infrastructure layer that sits at the front of all your back-end micro-services. It is a node network, a key stopping point for data on its way...
canonical: https://daily.dev/posts/creating-a-gateway-service-with-node-js-typescript-and-fastify--yl-djpegb
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Creating a gateway service with node js, typescript and fastify. | daily.dev
og:description:  gateway is an infrastructure layer that sits at the front of all your back-end micro-services. It is a node network, a key stopping point for data on its way...
og:url: https://daily.dev/posts/creating-a-gateway-service-with-node-js-typescript-and-fastify--yl-djpegb
og:image: https://api.daily.dev/og/posts/Yl_DjpEGb.png
og:image:alt: Creating a gateway service with node js, typescript and fastify.
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Creating a gateway service with node js, typescript and fastify.

**[Towards Dev](https://daily.dev/sources/towardsdev)** · 2 min read · 23 upvotes · 0 comments

## Summary

gateway is an infrastructure layer that sits at the front of all your back-end micro-services. It is a node network, a key stopping point for data on its way to or from other networks. Since we are using typescript, we have a lot of configuring to do before hand. We are going to make use of the micro- services architecture.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://towardsdev.com/creating-a-gateway-service-with-node-js-typescript-and-fastify-54cb9c17b0e1>

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#architecture](https://daily.dev/tags/architecture), [#typescript](https://daily.dev/tags/typescript), [#fastify](https://daily.dev/tags/fastify)

[View this post on daily.dev](https://daily.dev/posts/creating-a-gateway-service-with-node-js-typescript-and-fastify--yl-djpegb)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Creating a gateway service with node js, typescript and fastify.","url":"https://daily.dev/posts/creating-a-gateway-service-with-node-js-typescript-and-fastify--yl-djpegb","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/creating-a-gateway-service-with-node-js-typescript-and-fastify--yl-djpegb"},"datePublished":"2021-09-03T07:25:25.978Z","dateModified":"2021-10-07T14:17:10.317Z","description":" gateway is an infrastructure layer that sits at the front of all your back-end micro-services. It is a node network, a key stopping point for data on its way...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5d2196aa34e43fb04d9ceae670a095d2","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5d2196aa34e43fb04d9ceae670a095d2","isAccessibleForFree":true,"articleSection":"Towards Dev","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Towards Dev","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/2c710db2750a4a70835862534cb7c9d4","url":"https://daily.dev/sources/towardsdev"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/creating-a-gateway-service-with-node-js-typescript-and-fastify--yl-djpegb","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":23},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"javascript,architecture,typescript,fastify","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Towards Dev","item":"https://daily.dev/sources/towardsdev"},{"@type":"ListItem","position":3,"name":"Creating a gateway service with node js, typescript and fastify."}]}
```

