https://github.com/sacconazzo/express-sessions-mongo
simple express https srv with auth and sessions/cookies stored on MongoDB
https://github.com/sacconazzo/express-sessions-mongo
Last synced: 6 months ago
JSON representation
simple express https srv with auth and sessions/cookies stored on MongoDB
- Host: GitHub
- URL: https://github.com/sacconazzo/express-sessions-mongo
- Owner: sacconazzo
- Created: 2020-09-19T16:38:11.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-21T10:17:44.000Z (over 4 years ago)
- Last Synced: 2025-02-08T12:13:04.953Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# express-sessions-mongo
simple express https srv with auth and sessions/cookies stored on MongoDB- POST /login - login and create session [passing object with creadential {"user": "user", "password": "password"}]
- POST /data - storing some data [passing generic object]
- GET /session - get session info and datatry it on https://api.giona.tech
- example POST call https://api.giona.tech/login passing {"user": "test", "password": "test"} => then GET call https://api.giona.tech/session