https://github.com/securitybunker/databunker-nodejs-passwordless-login
databunker-nodejs-passwordless-login
https://github.com/securitybunker/databunker-nodejs-passwordless-login
Last synced: about 1 year ago
JSON representation
databunker-nodejs-passwordless-login
- Host: GitHub
- URL: https://github.com/securitybunker/databunker-nodejs-passwordless-login
- Owner: securitybunker
- License: mit
- Created: 2021-03-23T17:58:38.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-11-25T18:20:22.000Z (over 4 years ago)
- Last Synced: 2025-05-15T05:09:36.352Z (about 1 year ago)
- Language: JavaScript
- Size: 33.2 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Roll your own passwordless login (aka Magic Link) for Node.js with this code example
## Run for the first time
1. ```./generate-databunker-env.sh``` - run this command will generate databunker.env file
2. ```docker-compose build``` - build web application container.
3. Edit ```web.env``` to make sure it contains correct values.
4. ```docker-compose up -d``` - to start all containers (databunker and web app).
Open in your browser http://localhost:4000/.
You can use any email address to login. No real check for user records exist in this code.
It is using only the Databunker session code support.
## Run for the second time:
It is enough to execute ```docker-compose up``` command.