sigit-prayoga / web-scraper-angular2

A very simple example of using Angular2 and Go as a RESTful API.

Home Page:http://sigitprayoga.com/web-scraper-angular2/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web Scraper using Angular2 and Go

This project is intended to share a basic knowledge about Angular 2 and Go as a RESTful API. Simple use case here that user can input any product in input field and it's going to show 2 top categories related to the product.

Thanks to http://bukalapak.com/ to provide a good categories tree that we can scrap :)

Run the Go server

$ cd web-scraper-angular2/src/server

$ go run main.go

Run the Angular2 client in development environment

$ cd web-scraper-angular2

$ ng serve

Note: Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

About

A very simple example of using Angular2 and Go as a RESTful API.

http://sigitprayoga.com/web-scraper-angular2/

License:MIT License


Languages

Language:TypeScript 52.2%Language:Go 21.3%Language:JavaScript 16.6%Language:HTML 9.1%Language:CSS 0.8%