---
title: "Discussion on \"Vite dev server: adding middleware\" | Hashnode"
description: "Discussion on \"Vite dev server: adding middleware\". While working on apps that will be deployed to Vercel, I have run into this situation several times, where I wanted to be able to start my api middleware together with the Vite dev server for local development. Normally you would run the api middlewa..."
url: "https://hashnode.com/posts/vite-dev-server-adding-middleware/6417fb01c3e750df9c64af64"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Vite dev server: adding middleware](https://brense.hashnode.dev/vite-dev-server-adding-middleware?utm_source=hashnode&utm_medium=feed)

While working on apps that will be deployed to Vercel, I have run into this situation several times, where I wanted to be able to start my api middleware together with the Vite dev server for local development. Normally you would run the api middlewa...

Mar 20, 2023 · 2 min read · brense.hashnode.dev  
Read the article

-   [#vite](https://hashnode.com/tag/vite)
-   [#express](https://hashnode.com/tag/express)
-   [#middleware](https://hashnode.com/tag/middleware)
-   [#plugins](https://hashnode.com/tag/plugins)

## Written by

[Rense Bakker](https://hashnode.com/@brense)

@brense · Den Haag, Netherlands

  
[View profile](https://hashnode.com/@brense)

Freelance fullstack developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
