Project Structure and Configuration Management
Starting from this chapter, we are going to create a real-world RESTful cloud-native application from the initial project structure. No more foo/bar examples and Fastify theory. We will put into action what we have learned in the previous chapters. This will lead us to understand how to build an application.
This chapter will build a solid scaffolding structure that you may reuse for your future projects. You will be introduced to and use community packages and create your own plugins when needed.
This is the learning path we will cover in this chapter:
- Designing the application structure
- Improving the application structure
- Debugging your application
- Sharing the application configuration across plugins
- Using Fastify plugins