Build a News Feed with Nuxt 2 and Firestore [Video]

By Reed Barger
  • Instant online access to over 7,500+ books and videos
  • Constantly updated with 100+ new titles each month
  • Breadth and depth in over 1,000+ technologies
  1. Getting Started

About this video

Welcome to Build a News Feed with Nuxt 2 and Firestore!

We'll be building a real-time newsfeed called NuxtNews, where users will be able to see live news headlines as they are published from around the World, search through them with search terms (by date and search criteria, where users can select headlines by their country, by news category, or by news source), and take a look at these headlines as individual pages within their app. And when users are authenticated (using JSON web tokens and the Firebase Auth REST API), they will be able to bookmark the headlines they want to save and place them within their personalized news feed, comment on articles, and like/upvote comments by other users on those individual headline pages.

Here's what we will cover:

• Get hands-on with the News API to dynamically fetch top headlines around the world (by news category, by country, by the news source, and more)

• Add search functionality to query all headlines according to search terms, by date and various criteria

• Create the ability for users to bookmark headlines and add them to their feed

• Extensive coverage of making HTTP requests with Axios (Nuxt module, proxies, and setting headers)

• Built-in Nuxt data-fetching with the asyncData and fetch methods

• Work with Nuxt plugins to incorporate third-party libraries into your Nuxt application

• Authentication with JSON web tokens and session management with both cookies and LocalStorage

• User authentication with the Firebase Auth REST API

• Building Nuxt middleware functions to work as authentication checks and navigation guards

• Use Vue filters to format date/time values with the popular date-fns package•

• Bootstrap new Nuxt 2 projects

• Seamless app deployment with Heroku

The NuxtNews app is truly a fully-featured application where you'll learn tons of Nuxt/Vue concepts along the way. Interested in building impressive, practical, full-stack single-page and server-rendered apps with Nuxt and Firestore? This is the course for you!

All the code files are placed at https://github.com/PacktPublishing/Build-a-News-Feed-with-Nuxt-2-and-Firestore

Publication date:
October 2019
Publisher
Packt
Duration
2 hours 44 minutes
ISBN
9781839210402

About the Author

  • Reed Barger

    Reed Barger is a Full-Stack Developer and Consultant. Reed is a professional developer with a passion for learning and teaching everything he knows. He believes in learning through doing and this philosophy is present in every course that he teaches. He loves to explore new web and mobile technologies, and his courses focus on giving you the edge in this fast-moving industry.

    Browse publications by this author
Book Title
Unlock this full video with a FREE 10 day trial
Start Free Trial