https://github.com/javascript-pro/userentity
React/Firebase implementation of user tracking
https://github.com/javascript-pro/userentity
Last synced: about 1 year ago
JSON representation
React/Firebase implementation of user tracking
- Host: GitHub
- URL: https://github.com/javascript-pro/userentity
- Owner: javascript-pro
- Created: 2018-11-21T23:20:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-23T03:55:48.000Z (over 7 years ago)
- Last Synced: 2025-02-12T11:37:21.776Z (about 1 year ago)
- Language: JavaScript
- Size: 128 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## UserEntity
#### Keep track of users without the need for login
When the app starts, it first looks in the persistant redux store
to see if there is already a __fingerprint__.
If not, then the fingerprinting process is initalised
- A fingerprint is generated using __fingerprintjs2__
- This fingerprint is checked against firestore for matches
- If there is a match, retrieve that user data
- If no match, a new record is created and user data is returned
And the user's geolocation and IP is looked up https://geoiplookup.io