Skip to content

Use asynchronous, Promise-based functions in middleware clean up router blocks

License

Notifications You must be signed in to change notification settings

geoffdavis92/express-async-await-middleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express Async/Await Middleware Example

Use asynchronous, Promise-based functions in middleware clean up router blocks

Read the accompanying article.

Setup

  1. Clone the repository.
  2. Install dependencies: yarn or npm i
  3. Start the server: yarn start or npm start

The server will start at http://localhost:2017, or alternatively you can set a custom port like so: $ PORT=4004 yarn start.

About

Use asynchronous, Promise-based functions in middleware clean up router blocks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published