---
title: "#225: How To Add Passport Authentication To Node Apps"
publication: "Node Weekly"
issue: 225
published_at: "2018-02-15"
canonical_url: "https://nodeweekly.com/issues/225"
---

#225: How To Add Passport Authentication To Node Apps

This week's Node news[Read this e-mail on the Web](http://nodeweekly.com/issues/225)

Node WeeklyFebruary 15, 2018 #225 Vincit 

[Objection.js 1.0: An SQL-Friendly ORM for Node](https://github.com/vincit/objection.js)Built on top of the [knex](http://knexjs.org/) query builder, Objection lets you declaratively define models and relationships while still using SQL for your queries.
 SitePoint 

[Passport Authentication for Node Apps](https://www.sitepoint.com/passport-authentication-for-nodejs-applications/)How to add Facebook- and GitHub-based authentication to a Node app using the [Passport](http://www.passportjs.org/) authentication middleware.
 Frontend MastersSponsor

[New Course: 🔗 TypeScript Fundamentals](https://frontendmasters.com/courses/typescript/)Adding strong typing to large JavaScript apps with TypeScript helps reduce bugs, and keep you on a performant and maintainable code path. Plus, learn how it fits nicely with modern frameworks like Angular, Vue and React.

[![Frontend Masters\](https://copm.s3.amazonaws.com/a20cff74.png)](https://frontendmasters.com/courses/typescript/)
 Osedea 

[NoDock: Full-Stack Docker Environments for Node Projects](http://nodock.io/)Docker Compose for Node projects with Node, MySQL, MongoDB, NGINX, Memcached, Redis, Certbot and RabbitMQ images ready to plug-and-play together.
 Node.js Foundation 

[Node v6.13.0 (LTS) Released](https://nodejs.org/en/blog/release/v6.13.0/)Quite a few backports here for LTS users, including `console.count`, `console.clear`, a new macOS installer, and WHATWG URL API support - plus a libuv upgrade.
 Jonathan Saring 

[5 Practical Ways To Share Code: From NPM to Lerna and Bit](https://hackernoon.com/5-practical-ways-to-share-code-from-npm-to-lerna-and-bit-732f2a4db512)[Lerna](https://github.com/lerna/lerna) helps you manage multiple packages stored in a single repository, while [Bit](https://bitsrc.io/) lets you share code direct from any repository it’s already in.
 Gergely Nemeth 

[Learning Go as a Node.js Developer](https://nemethgergely.com/learning-go-as-a-nodejs-developer/)With Docker and Kubernetes Go has picked up quite a bit of traction, but what’s it like from a Node POV? _(You may not be surprised to learn [we have a Go newsletter](https://golangweekly.com/) too..)_


Jobs

- [Technical Lead, Web (React / Front-end)](https://sjobs.brassring.com/TGWEbHost/jobdetails.aspx?partnerid=25354&siteid=5108&areq=38003BR)
Play a critical role in the digital evolution of NBC News, one of the world’s best known and most trusted news organizations. NBCUniversal
- [Looking for a Job at a Company That Prioritizes Node?](https://www.vettery.com/tech?utm_medium=cooper-nodeweekly&utm_campaign=ad-1716&utm_source=newsletter&utm_content=grouped&utm_term=tech)
Try Vettery and we’ll connect you directly with thousands of companies looking for talented back-end devs. Vettery

In Brief

- [Next.js 5: Universal Webpack, CSS Imports, Plugins and Zones](https://zeit.co/blog/next5) news 
Next.js is a toolkit for universal, server-rendered or pre-rendered React apps.
Zeit
- [Learn to Build JavaScript Apps with MongoDB in M101JS, MongoDB for Node Developers](https://university.mongodb.com/courses/M101JS/about?jmp=cpress&utm_campaign=WW_CP_newsletter_sponsorship_FY19Q1&utm_content=brief&utm_medium=display&utm_source=nodeweekly&utm_date=20180215) course 
mongodbSponsor
- [GraphQL as an API Gateway to Microservices](https://blog.codeship.com/graphql-as-an-api-gateway-to-micro-services/) tutorial 
Everett Griffiths
- [How to Build a ToDo App with Node, MongoDB and Vue.js](https://dev.to/abiodunjames/build-a-todo-app-with-nodejs-expressjs-mongodb-and-vuejs--part-1--29n7) tutorial 
Bring three great technologies together in this two part series.
Samuel James
- [Forms, File Uploads and Security with Node and Express](https://www.sitepoint.com/forms-file-uploads-security-node-express/) tutorial 
SitePoint
- [A Node.js Perspective on MongoDB 3.6: Change Streams](http://thecodebarbarian.com/a-nodejs-perspective-on-mongodb-36-change-streams.html) tutorial 
We have a new [MongoDB newsletter](https://mongodb.email/), by the way :-)
The Code Barbarian
- [Interop’s Labyrinth: Sharing Code Between Web and Electron Apps](https://slack.engineering/interops-labyrinth-sharing-code-between-web-electron-apps-f9474d62eccc) tutorial 
Machisté N. Quintana
- [Designing a REST API with Node.js and MongoDB Atlas](https://www.zeolearn.com/magazine/designing-a-rest-api-with-nodejs-and-mongodb-atlas) tutorial 
Atlas is MongoDB’s own MongoDB-as-a-Service platform.
Aman Mittal
- [GraphQL-to-MongoDB, or How I Learned to Stop Worrying and Love Generated Query APIs](https://blog.solutotlv.com/graphql-to-mongodb-or-how-i-learned-to-stop-worrying-and-love-generated-query-apis/) tutorial 
Yoav Karako
- [Get Started with Azure for Node.js Developers](https://docs.microsoft.com/en-us/javascript/azure/?view=azure-node-latest) 
MicrosoftSponsor
- [Better Node Console Dumps with console-probe](https://davidwalsh.name/console-probe) tools 
David Walsh
- [Thanks: Give Thanks to Open Source Maintainers You Depend On](https://github.com/feross/thanks) tools 
Run `npx thanks` in your project and see who is seeking donations.
Feross Aboukhadijeh
- [XO: An Opinionated but Configurable ESLint Wrapper](https://github.com/xojs/xo) tools 
XO
- [Request Inspector: An HTTP(S) Request Timing Tool for Node Servers](https://github.com/nebrius/request-inspector) tools 
Bryan Hughes
- [Axios: A Promise-Based HTTP Client for Browser and Node](https://github.com/axios/axios) code 
A long standing project and still getting frequent updates.
Matt Zabriskie
- [date2json: Convert Date Objects to JSON](https://github.com/tigercosmos/date2json) code 
An-Chi Liu
- [is-vegan: Which Food Ingredients Are Vegan on Not?](https://github.com/hmontazeri/is-vegan) code 
A curious idea for a library, but it does what it says.
Hamed Montazeri
- [CodeTree: A Library for Transforming Code](https://github.com/fwouts/codetree) code 
.. in any language that can be parsed with ANTLR4, too.
François Wouts

Node Weekly is curated by [Peter Cooper](https://twitter.com/peterc) and published by [Cooperpress](https://cooperpress.com/).

Want to sponsor an issue? See our [media kit.](https://cooperpress.com/mediakit)
Want to post a job? E-mail us or [use our self-serve system.](https://booking.cooperpress.com/jobs)

[Unsubscribe](*|UNSUB|*) : [Change email address](*|UPDATE_PROFILE|*) : [Read this issue on the Web](http://nodeweekly.com/issues/225)

© Cooperpress Ltd. Office 30, Lincoln Way, Louth, LN11 0LS, UK
[Email policy](https://cooperpress.com/spam.html) [Privacy policy](https://cooperpress.com/privacy.html)
