Skip to content
Build an authentication system using Node.js, Express, and Passport.js
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
getting-started
passport-facebook-strategy
passport-google-oauth-strategy
passport-jwt-mongo
passport-role-based-authorisation
.gitignore
.prettierrc
README.md
package.json
yarn.lock

README.md

Build an authentication system using Node.js, Express, and Passport.js

The repository contains the resulting code from our mini-series on Authentication using Node.js, Express, and Passport.js. The comprehensive series is designed to teach you everything you need to know to add authentication and authorisation to your existing website, or for a new-build from-scratch project.

You will learn;

  • How to set-up Next.js (React.js), with a custom Express.js back-end
  • How to build a login and registration page, using Material UI
  • How to set-up Passport.js with JSON Web Tokens (JWT)
  • How to make your application flexible and configurable using dotenv
  • How to set-up MongoDB using Docker. We will also use Mongoose to simplify database calls, and MongoDB Memory Server for effective unit testing
  • How to extend the login/registration options with both Google and Facebook Passport strategies
  • How to introduce role-based authorisation, so you can restrict access to certain sections of the website.

Weather you’re a seasoned developer or just starting out, don’t worry. We take care to explain the details that matter in a simple and straightforward language that is approachable to all.

The tutorial series can be found on DeveloperHandbook.com.

You can’t perform that action at this time.