Use asynchronous, Promise-based functions in middleware clean up router blocks
Read the accompanying article.
- Clone the repository.
- Install dependencies:
yarn
ornpm i
- Start the server:
yarn start
ornpm start
The server will start at http://localhost:2017
, or alternatively you can set a custom port like so: $ PORT=4004 yarn start
.