Skip to content

Commit

Permalink
docs(core): fastify video
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacplmann authored and juristr committed Aug 28, 2023
1 parent b52e844 commit 960d80b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/shared/recipes/add-stack/add-fastify.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Add a New Fastify Project

{% youtube
src="https://www.youtube.com/embed/LHLW0b4fr2w"
title="Easy, Modular Node Applications!"
width="100%" /%}

**Supported Features**

Because we are using an Nx plugin for Fastify, all the features of Nx are available.
Expand All @@ -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/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

{% tabs %}
Expand Down

1 comment on commit 960d80b

@vercel
Copy link

@vercel vercel bot commented on 960d80b Aug 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx-five.vercel.app
nx.dev
nx-dev-nrwl.vercel.app

Please sign in to comment.