All Projects → passport → todos-express-password

passport / todos-express-password

Licence: Unlicense license
Todo app using Express and Passport for sign in with username and password.

Programming Languages

CSS
56736 projects
javascript
184084 projects - #8 most used programming language
EJS
674 projects

Projects that are alternatives of or similar to todos-express-password

Passport Local
Username and password authentication strategy for Passport and Node.js.
Stars: ✭ 2,545 (+244.38%)
Mutual labels:  password, passport
pywnedpasswords
Checkt pwnedpasswords.com in a secure way
Stars: ✭ 22 (-97.02%)
Mutual labels:  password
Hemmelig.app
Keep your sensitive information out of chat logs, emails, and more with encrypted secrets.
Stars: ✭ 183 (-75.24%)
Mutual labels:  password
Compressed2TXT
File(s)/Folder(s) "Send to" menu .bat ascii encoder with optional password and makecab lzx compression
Stars: ✭ 156 (-78.89%)
Mutual labels:  password
gnirts
Obfuscate string literals in JavaScript code.
Stars: ✭ 65 (-91.2%)
Mutual labels:  password
mpw-rs
Master Password in Pure Rust
Stars: ✭ 34 (-95.4%)
Mutual labels:  password
express-mongo-jwt-boilerplate
Express Mongo JsonWebToken boilerplate
Stars: ✭ 100 (-86.47%)
Mutual labels:  passport
jumble-password
🔐 A tiny tool to create unique id's or passwords.
Stars: ✭ 30 (-95.94%)
Mutual labels:  password
keepassxc-pwned
Check your keepassxc database against previously breached haveibeenpwned passwords
Stars: ✭ 25 (-96.62%)
Mutual labels:  password
mongoose-pii
A Mongoose plugin that lets you transparently cipher stored PII and use securely-hashed passwords
Stars: ✭ 43 (-94.18%)
Mutual labels:  password
NEMO
Modeling Password Guessability Using Markov Models
Stars: ✭ 46 (-93.78%)
Mutual labels:  password
pwm
自用的密码管理工具
Stars: ✭ 34 (-95.4%)
Mutual labels:  password
chinese-diceware
Diceware word lists in Chinese
Stars: ✭ 27 (-96.35%)
Mutual labels:  password
express-mvp
Express.js project template ready to go
Stars: ✭ 21 (-97.16%)
Mutual labels:  passport
Passky-Server
API and Database for Passky (password manager)
Stars: ✭ 77 (-89.58%)
Mutual labels:  password
MagicPassword
Need to generate a password? Try Gaowanliang Strong Password Generator. Just need a master password to generate secure passwords to keep your network safe.
Stars: ✭ 19 (-97.43%)
Mutual labels:  password
SRP
Secure Remote Password (SRP) for Swift
Stars: ✭ 44 (-94.05%)
Mutual labels:  password
LBFH
About All in one tool for Information Gathering, Vulnerability Scanning and Crawling. A must have tool for all penetration testers
Stars: ✭ 46 (-93.78%)
Mutual labels:  password
django-pwned
A collection of django password validators
Stars: ✭ 22 (-97.02%)
Mutual labels:  password
PASSY
This project has moved to GitLab.com
Stars: ✭ 14 (-98.11%)
Mutual labels:  password

todos-express-password

This app illustrates how to use Passport with Express to sign users in with a username and password. Use this example as a starting point for your own web applications.

Quick Start

To run this app, clone the repository and install dependencies:

$ git clone https://github.com/passport/todos-express-password.git
$ cd todos-express-password
$ npm install

Then start the server.

$ npm start

Navigate to http://localhost:3000.

Tutorial

Follow along with the step-by-step Username & Password Tutorial to learn how this app was built.

Overview

This app illustrates how to build a todo app with sign in functionality using Express, Passport, and the passport-local strategy.

This app is a traditional web application, in which application logic and data persistence resides on the server. HTML pages and forms are rendered by the server and client-side JavaScript is not utilized (or kept to a minimum).

This app is built using the Express web framework. Data is persisted to a SQLite database. HTML pages are rendered using EJS templates, and are styled using vanilla CSS.

When a user first arrives at this app, they are prompted to sign in. Once authenticated, a login session is established and maintained between the server and the user's browser with a cookie.

After signing in, the user can view, create, and edit todo items. Interaction occurs by clicking links and submitting forms, which trigger HTTP requests. The browser automatically includes the cookie set during login with each of these requests.

When the server receives a request, it authenticates the cookie and restores the login session, thus authenticating the user. It then accesses or stores records in the database associated with the authenticated user.

Next Steps

License

The Unlicense

Credit

Created by Jared Hanson

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].