Skip to content

cellarstella/gator_bootdev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use Gator RSS feed aggregator CLI

generate and migrate postres database: npm run generate npm run migrate psql postgres \c gator Here are the commands available:

  • login for logging in an already registered user npm run start login [name]
  • register for registering a new user npm run start register [name]
  • reset for deleting all users and associated data npm run start reset
  • users get a list of registered users, with flagged current user npm run start users
  • agg scrape added rss feeds and display posts at set interval, use format 0h 30m 15s or 3500ms npm run start agg [time interval] this will run until you stop it, like with cmd+c
  • addfeed add a new rss feed npm run start addfeed [url] This will automatically be followed by current user
  • feeds see a list of feeds added npm run start feeds
  • follow usage npm run start follow [url] to follow a feed that was added, for current user
  • following see what feeds the current user is following npm run start following
  • unfollow usage npm run start unfollow [url] to unfollow a feed npm run start unfollow [url]
  • browse usage npm run start browse [number] to show a number of recent posts

About

RSS feed aggregator from the typescript course at Boot.dev

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors