siddhant-vij / JWT-Authentication-Service

YouTube Video Aggregator | Securely login users on the website.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JWT Authentication Service

Building the authentication service for the YouTube Video Aggregator project. It's a JWT-based authentication server which uses Redis (for Session Store), integrated with the backend API which allows a user to:

  • Follow 5 YouTube channels by default (on successful login)
  • Follow and unfollow channels that other users have added
  • Add bookmarks and upvote/downvote to the video posts
  • Fetch all of the latest videos from the channels they follow


RSS/Atom feeds are a way for websites to publish updates to their content. You can use this project to keep up with your favorite youtube channels!


πŸš€ Learning Goals

  • How to integrate a Go server with PostgreSQL
  • The basics of database migrations
  • Long-running service workers
  • The complete overview of JWT authentication

πŸš€ Improvement Ideas

  • Support different options for sorting and filtering posts using query parameters
  • Support multiple types of RSS feeds with better logging and error handling (e.g. Atom, JSON, etc.)
  • Classify different types of feeds and posts (e.g. blog, podcast, video, etc.)
  • Support pagination of the endpoints that can return many items
  • Add a CLI client that uses the API to fetch and display posts, maybe it even allows you to read them in your terminal
  • Scrape lists of feeds themselves from a third-party site that aggregates feed URLs (e.g. FeedSpot, etc.)
  • Add integration tests that use the API to create, read, update, and delete feeds and posts
  • Create a comprehensive web UI that uses the backend API

License

Distributed under the MIT License. See LICENSE for more information.

About

YouTube Video Aggregator | Securely login users on the website.

License:MIT License


Languages

Language:Go 98.7%Language:Shell 1.3%