Todos Express Password

screenshot of Todos Express Password
express

Todo app using Express and Passport for sign in with username and password.

Overview

The "todos-express-password" app demonstrates how to implement user authentication using Passport with Express for signing in users with a username and password. It serves as a useful starting point for developing web applications that require authentication. This traditional web application uses Express for the server-side logic, persists data in a SQLite database, renders HTML pages with EJS templates, and employs minimal client-side JavaScript. Users are required to sign in to access and manage todo items.

Features

  • Passport Integration: Demonstrates integration of Passport for user authentication.
  • SQLite Database: Persists data in a SQLite database.
  • EJS Templates: Renders HTML pages using EJS templates.
  • User Authentication: Requires users to sign in to interact with todo items.
  • HTTP Requests: Interaction involves clicking links and submitting forms that trigger HTTP requests.
  • Cookie-based Session: Establishes and maintains a login session between the server and user's browser using a cookie.
  • Extendable Functionality: Provides guidance on extending the app with credential management, social login, and passwordless login options.

Summary

The "todos-express-password" app showcases the implementation of user authentication using Passport, Express, and a SQLite database. It serves as a foundational example for building web applications that require secure sign-in functionality. With features like EJS templates, session management, and guidance on extending functionality, this app provides a practical demonstration of user authentication best practices for web development.

express
Express

Express.js is a simple Node.js framework for single, multi-page, and hybrid web applications.