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
- Host: GitHub
- URL: https://github.com/richplastow/tryout-node-rough-user-session
- Owner: richplastow
- License: mit
- Created: 2023-05-11T17:44:35.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-11T21:28:55.000Z (about 2 years ago)
- Last Synced: 2025-01-06T01:10:43.961Z (5 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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!
```