Integrate Fastify into an existing project
mainIf you already have a project and want to add the Fastify structure, use the --integrate flag.
Warning: This mode will overwrite existing files. Ensure you have a backup or have committed your current changes before proceeding.
Overwritten Files
The following files and folders will be overwritten:
.gitignoreapp.jsplugins/routes/test/
Modified Files
package.jsonwill be modified but not overwritten.
Plugin Loading
Plugins in the generated structure are loaded using @fastify/autoload with an empty default configuration.
npm init fastify --integrate