Socket
Book a DemoInstallSign in
Socket

@uscreen.de/create-fastify-app

Package Overview
Dependencies
Maintainers
7
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uscreen.de/create-fastify-app

cli to create a new @uscreen.de/fastify-app

2.0.0
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
7
Weekly downloads
 
Created
Source

create-fastify-app

Test CI Test Coverage Known Vulnerabilities NPM Version

cli to quickly bootstrap a new fastify-app

This package provides the cli skript to create a new @uscreen.de/fastify-app from scratch inside of a monorepo. No need to install any other prerequisites than node and pnpm. Features include:

  • initialize new package.json
  • setup application skeleton
  • setup dotfiles
  • setup .env for starting

Usage

Use pnpm create to create a new fastify-app, like so:

$ pnpm create @uscreen.de/fastify-app new-app

It will create a directory called new-app inside the current folder. Inside that directory, it will generate the initial project structure:

new-app
├── .env
├── .env.example
├── .gitignore
├── README.md
├── app
│   ├── app.js
│   ├── config.js
│   ├── plugins
│   │   └── noop.js
│   ├── schemas.js
│   ├── server.js
│   └── services
│       └── noop.js
├── package.json
└── test
    ├── app
    │   └── noop.test.js
    └── helper.js

pnpm create will update itself and checkout the latest version of the boilerplate packed with lot's of best-practice settings and prepared for local dev.

More Details can be found in @uscreen.de/fastify-app README

After creation has finished cd into the new apps directory and check it's README for options. In general you should be able to start your new app in dev mode, like so:

$ cd ./new-app
$ pnpm install
$ pnpm dev

Roadmap

  • add tests
  • add more skeletons
  • add options to choose from
  • ...TBD

Changelog

2.0.0

Changed

  • changed skeleton & creation process so it's suitable for use in a monorepo
  • upgraded skeleton to fastify@5
  • use pnpm instead of yarn

Removed

  • -y option (it is default now)

1.1.2

Changed

  • upgraded to node 20.x (LTS)

1.1.1

Changed

  • upgraded to node 18.x (LTS)

1.1.0

Changed

  • migrated yorkie to husky
  • cleanup app.js and server.js

Added

  • uses @uscreen.de/common-esm for esm migration
  • uses @uscreen.de/fastify-app options for app creation
  • uses nodemon for dev mode

Removed

  • dropped pm2 package and config

1.0.0

Changed

  • switch skeleton to ESM only
  • upgrade skeleton to fastify@4.x

v0.7.0

  • added: graceful shutdown in skeleton

v0.6.0

  • changed: use versions specified in skeleton's package.json

v0.5.0

  • moved to esm
  • upgraded to node 16.x (LTS)

v0.4.0

  • upgraded to node 14.x (LTS)

v0.3.0

  • upgraded to fastify 3.x
  • upgraded to node 12.x (LTS)

v0.2.0

  • added instructions

v0.1.0

  • initially bootstrapped
  • added basic skeleton app based on fastify-app

License

Licensed under MIT.

Published, Supported and Sponsored by u|screen

FAQs

Package last updated on 09 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.