https://github.com/fastify/create-fastify
Rapidly generate a Fastify project
https://github.com/fastify/create-fastify
fastify fastify-tool nodejs npx
Last synced: 2 months ago
JSON representation
Rapidly generate a Fastify project
- Host: GitHub
- URL: https://github.com/fastify/create-fastify
- Owner: fastify
- License: mit
- Created: 2020-03-04T11:54:07.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-03-30T21:20:07.000Z (3 months ago)
- Last Synced: 2025-04-03T18:12:47.090Z (3 months ago)
- Topics: fastify, fastify-tool, nodejs, npx
- Language: JavaScript
- Homepage: https://npmjs.com/package/create-fastify
- Size: 63.5 KB
- Stars: 133
- Watchers: 12
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# create-fastify
[](https://github.com/fastify/create-fastify/actions/workflows/ci.yml)
[](https://www.npmjs.com/package/create-fastify)
[](https://github.com/neostandard/neostandard)> Rapidly generate a Fastify project
## Usage
There is no need to install this package directly.
```sh
npm init fastify [your_app_name]
```The `npm init` command will find this package automatically and run it.
### Integrate
To integrate Fastify into an existing project:
```sh
npm init fastify --integrate
```Note that this will overwrite files, so exercise caution.
Files and folders that will be overwritten by integrate mode:
* .gitignore
* app.js
* plugins
* routes
* testThe `package.json` file will not be overwritten but will be modified.
The plugins are loaded with [@fastify/autoload](https://github.com/fastify/fastify-autoload) with an empty default configuration.
## Contributing
If you feel you can help in any way, be it with examples, extra testing, or new features please open a pull request or open an issue.## License
Licensed under [MIT](./LICENSE).