An open API service indexing awesome lists of open source software.

https://github.com/betterstack-community/async-hooks-demo


https://github.com/betterstack-community/async-hooks-demo

Last synced: 4 days ago
JSON representation

Awesome Lists containing this project

README

          

# Registration App

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
](https://betterstack.com/community/guides/scaling-nodejs/async-hooks-explained/)

## 🟢 Prerequisites

Ensure you have Node.js and npm installed on your machine.

## 📦 Getting started

- Clone this repository to your machine:

```bash
git clone https://github.com/betterstack-community/async-hooks-demo
```

- `cd` into the project folder and run `npm install` to download dependencies.
- Execute the command below to start the development server:

```bash
npm run dev
```

- Visit `http://localhost:3000/register?username=john`
in your browser to register the first user.

## âš– License

The code used in this project and in the linked tutorial are licensed under the [Apache License, Version 2.0](LICENSE).