ForrestJS takes this concept to the next level by offering an interface that services and features can use to interoperate without being tightly coupled. It also pushes hard for Single Responsibility Principle and Open Closed Principle.
Today I’d like to share with you a few running examples of the services that you can use to compose your webapp.
Runs a Fastify instance within your ForrestJS App
Wrapper around fastify-static plugin.
Provides a healthcheck route that you can configure via simple hooks.
Wrapper around fastify-jwt plugin.
Wrapper around fastify-cookie plugin.
Sets up an Apollo Graphql Server in the ForrestJS app and provides hooks to extend the schema from a feature.
NOTE: At the time of writing an issue prevents the
from rendering the playground. (https://github.com/apollographql/apollo-server/issues/4463)
Sets up an Apollo Client in the ForrestJS app and makes it available to route handlers.
Sets up an Fetchq Client in the ForrestJS app and makes it available to route handlers.