docs(core): fastify video

This commit is contained in:
Isaac Mann 2023-08-28 09:21:20 -04:00 committed by Juri Strumpflohner
parent b52e844263
commit 960d80be93

View File

@ -1,5 +1,10 @@
# Add a New Fastify Project # Add a New Fastify Project
{% youtube
src="https://www.youtube.com/embed/LHLW0b4fr2w"
title="Easy, Modular Node Applications!"
width="100%" /%}
**Supported Features** **Supported Features**
Because we are using an Nx plugin for Fastify, all the features of Nx are available. Because we are using an Nx plugin for Fastify, all the features of Nx are available.
@ -16,6 +21,18 @@ Because we are using an Nx plugin for Fastify, all the features of Nx are availa
{% pill url="/core-features/plugin-features/use-code-generators" %}✅ Use Code Generators{% /pill %} {% pill url="/core-features/plugin-features/use-code-generators" %}✅ Use Code Generators{% /pill %}
{% pill url="/core-features/automate-updating-dependencies" %}✅ Automate Updating Framework Dependencies{% /pill %} {% pill url="/core-features/automate-updating-dependencies" %}✅ Automate Updating Framework Dependencies{% /pill %}
## Create a New Workspace with a Fastify App
If you're starting from scratch, you can use a preset to get you started quickly.
```shell
npx create-nx-workspace@latest --preset=node-monorepo --framework=fastify --appName=fastify-api
```
Then you can skip to the [Create a Library](#create-a-library) section.
If you are adding Fastify to an existing repo, continue to the next section.
## Install the Node Plugin ## Install the Node Plugin
{% tabs %} {% tabs %}