A Soccer Dashboard created by scraping EPL website using Akka backend and ReactJS frontend and IBM Cloudant for object storage
The project consists of 3 components
- Data collection using akka-actors
- REST API using akka-http
- ReactJS front end (which this blog doesn't cover)
- clone the project usig
git clone [email protected]:sanjeevghimire/akka-react-cloudant.git
- cd akka-epl
- Run
sbt
followed by commandscompile
andrun
. Make sure you chooseCrawlingApp.scala
as running class. This will crawl http://premierleague.com website and save data as JSON to IBM cloudant database. - In another commandline window or tab, Run
sbt
followed by commandscompile
andrun
. Make sure you chooseSoccerMainController.scala
as running class - In another command line tab,
cd soccer-epl-ui
and runnpm start
- you can now access the Dashboard in url:
http://locahost:3000