Skip to content

andrewsomething/urlscraper

 
 

Repository files navigation

URL Scraper

Watch webpages for changes.

Development

  1. Create a Postgres database named urlscraper: $ createdb urlscraper.
  2. Initialize and migrate the database: go run db/main.go.
  3. Install the Node.js dependencies: npm install.
  4. Rebuild the CSS: npm run css.
  5. Rebuild the JS: npm run js.
  6. Start the application: go run main.go.

Deployment

The following environment variables must be set.

  • DSN – The Postgres DSN.
  • CLIENT_ID - The DO OAuth client ID.
  • CLIENT_SECRET - The DO OAuth client secret.
  • REDIRECT_URL - The DO OAuth redirect URL.

About

Test repo for exercise

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Go 43.8%
  • CSS 34.6%
  • HTML 18.9%
  • JavaScript 2.7%