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

https://github.com/richplastow/tryout-node-rough-user-session

An idea for an API server which uses request headers to roughly (and quickly) infer user sessions
https://github.com/richplastow/tryout-node-rough-user-session

Last synced: 4 months ago
JSON representation

An idea for an API server which uses request headers to roughly (and quickly) infer user sessions

Awesome Lists containing this project

README

        

# tryout-node-rough-user-session

An idea for an API server which uses request headers to roughly (and quickly) infer user sessions

∅  __Version:__
0.0.1
∅  __Repo:__

∅  __AWS Billing Dashboard:__

∅  __App Runner Console:__

## IMPORTANT NOTE

_Potentially insecure! This repo is only intended as a proof-of-concept._

## Try it out locally

### __Start the server:__
Use ctrl-c to stop the server, afterwards.

```sh
npm start
```

### __Health check:__
The first health check is logged to the server, and every 1000th after that.

```sh
curl http://localhost:1234/
# ok!
```