@ForrestJS - Modular NodeJS Apps
Hey mate, thank you for landing here!
ForrestJS helps you to setup a Modular NodeJS App based on the NodeJS/React stack.
Try It Out:
- Basic webapp with Fastify
- service: Static Website
- service: Healthcheck
- service: JWT
- service: Cookie
- service: GraphQL API
- service: GraphQL Client (with Apollo)
- Handling Queues using Fetchq
What You Get
- Modular and interoperable architecture perfectly suited for SRP
- App lifecycle hooks to coordinate booting procedures
- Modules composition traceability and report
- Configuration API
- Context API
- Ready-to-use services available on NPM
🤓 This is one of the many opinionated setup available on the web. It's mine, my own, my precious... No kidding, this is simply how I believe any modern web app should be organized to maximize productivity and improve developer's experience.
👉 Although this is by all means my own understanding of the modularity challenge, I did my best to use only existing and well known open source projects, and limited my own code to the bare minimum.
This package is quite stable. Yet, I'm till actively working on it and you can expect new features and slight changes in the APIs.
Nevertheless I'm already using it in production, and I know quite a few companies who trust ForrestJS (and me, thanks mates 🙏) for their business-related projects.
🤝 I commit to do my best in preserving backward compatibility and keep it up-to-date with new versions of the few dependencies that we use.
WANNA HELP ME?
You should know...
I wrote this documentation for the mid-experienced engineer. It's an evolving project and you may need to resolve to the source code to fill the gaps of what I have documented so far.
I tested this documentation quite well, but bugs will always to be found!
Please report them as new issues.
Let' cut it short; here is the list of the things that you should be already acquainted with:
- NodeJS, NPM, Yarn
- Fastify (or similar middleware based tool)
I don't expect you to be an expert on all those tools, but it would be so good if you have a basic understanding of how to use them.
Copyright 2020 Marco Pegoraro
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.