File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Node CI
2+
3+ on :
4+ push :
5+ branches : ["main", "master"]
6+ pull_request :
7+ branches : ["main", "master"]
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Check out source code
14+ uses : actions/checkout@v4
15+
16+ - name : Use Node.js 18
17+ uses : actions/setup-node@v4
18+ with :
19+ node-version : 18
20+ cache : npm
21+
22+ - name : Install dependencies
23+ run : npm install
24+
25+ - name : Run tests
26+ run : npm test
Original file line number Diff line number Diff line change 11# Email Verification + 2FA Auth Demo (Vanilla JS + Node/Express)
22
3+ <div align =" right " >
4+
5+ ![ Live] ( https://img.shields.io/website?url=https://twofa-auth-vwrs.onrender.com/ )
6+   ;
7+ ![ CI] ( https://github.com/SagarBiswas-MultiHAT/2FA-Auth/actions/workflows/node-ci.yml/badge.svg )
8+   ;
9+ ![ Node] ( https://img.shields.io/badge/node-18%2B-brightgreen )
10+   ;
11+ ![ Last commit] ( https://img.shields.io/github/last-commit/SagarBiswas-MultiHAT/2FA-Auth )
12+   ;
13+ ![ Issues] ( https://img.shields.io/github/issues/SagarBiswas-MultiHAT/2FA-Auth )
14+
15+ </div >
16+
317A beginner-friendly authentication project that ** feels like a real app** , but is still small enough to understand end-to-end.
418
519This repo shows the complete auth story:
Original file line number Diff line number Diff line change 55 "type" : " commonjs" ,
66 "scripts" : {
77 "start" : " node server.js" ,
8- "dev" : " node server.js"
8+ "dev" : " node server.js" ,
9+ "test" : " node --check server.js"
910 },
1011 "dependencies" : {
1112 "dotenv" : " ^16.4.5" ,
1213 "express" : " ^4.21.2" ,
1314 "nodemailer" : " ^7.0.12" ,
1415 "qrcode" : " ^1.5.4"
1516 }
16- }
17+ }
You can’t perform that action at this time.
0 commit comments