/nodeauth

Advanced Node and Express Challenges for FCC

Primary LanguagePugMIT LicenseMIT

Node authentication, PassportJS

========================================

GitHub package.json version Package.json express version Package.json mongodb version Package.json passport version GitHub code size in bytes Last commit Website MIT License Twitter Follow Coverage Status

Workflow badge PRs Welcome

  • Created from a task in process-lb and based on a template of the FCC repository.

ko-fi

Clone this repo

Start with an empty repository and making the git init as follows:

git init
git clone https://github.com/Estebmaister/nodeauth.git

If you want to run the FCC challenges, you'll have to add the files from the original repo by FCC.

Scripts

To install all the dependencies:

npm install

To run the server static

npm start

To run the server with dynamic refresh

nodemon server.js

Introduction to Advanced Node and Express Challenges from FCC

The path of exploring ExpressJS functionality including working with middleware packages in our Express Application.

Authentication is the process or action of verifying the identity of a user or process. Up to this point you have not been able to create an app utilizing this key concept.

The most common and easiest way to use authentication middleware for Node.js is PassportJS. It is easy to learn, light-weight, and extremely flexible allowing for many strategies, which we will talk about in later challenges. We will also explore template engines, specifically PugJS, and web sockets, Socket.io. Web sockets allow for real time communication between all your clients and your server. Working on these challenges will involve writing your code on Glitch using our starter project. After completing each challenge you can copy your public glitch url (the homepage of your Glitch app) into the challenge screen to test it! Optionally, you may choose to write your project on another platform but it must be publicly visible for our testing.

License

MIT