Improving the application structure
We are becoming confident with our basic application setup, but it is not yet ready. We can improve it to define our own rules and give a better developer experience. We will create a solid project scaffolding focusing on the big picture first. After that, we will complete the Fastify setup details.
Starting an optimal project
A good project is not only fancy technology in action but it must also provide a good developer experience, reducing any burden. According to Fastify’s philosophy, we should set up our new code base keeping this aspect in mind. Therefore, we will provide a brief introduction to those aspects, as they are priceless and time-saving but often underrated.
The README file
The first addition to our project is a README.md
file. A typical readme file introduces newcomers to an existing project, answering a set of basic information questions as follows:
- What are the project’s requirements? Do you need...