A guided project on boot.dev.
You can download gator and install to your environment with go install.
There's a configuration file ~/.gatorconfig.json.
{
"db_url": "postgres://postgres:postgres@localhost:5432/gator?sslmode=disable",
"current_user_name": "username"
}
You should update db_url to point to your PostgreSQL instance and database.
The current_user_name is used by the program to track current user.
There are a few commands:
register <username>login <username>resetaddfeed <feed name> <feed url>agg <period>browse <opt limit>feedsfollow <feed url>followingunfollow <feed url>users