The application allows you to register users and store them in a simple, efficient in-memory storage system.
Tutorial: Contextual Logging in Node.js with AsyncHooks
Ensure you have Node.js and npm installed on your machine.
- Clone this repository to your machine:
git clone https://github.com/betterstack-community/async-hooks-demo
cd
into the project folder and runnpm install
to download dependencies.- Execute the command below to start the development server:
npm run dev
- Visit
http://localhost:3000/register?username=john
in your browser to register the first user.
The code used in this project and in the linked tutorial are licensed under the Apache License, Version 2.0.