The Fragmenty API provides a RESTful and Websocket interface to access the phone numbers auction data that is collected and stored in a MongoDB database by the Fragmenty Scrapy project. The API is built with the Scala programming language and the Play Framework.
- Scala 2.13
- Play Framework 2.8
- MongoDB Scala Driver 4.9
- Clone the repository.
git clone https://github.com/Maders/fragmenty-api.git
cd fragmenty-api
-
Configure the settings in
conf/application.conf. In particular, set theuriproperty in themongodbsection to the MongoDB connection string. -
Start the API server.
sbt run
-
The
fragmentyrepository contains the infrastructure provisioning code for the Fragmenty project using Amazon Web Services (AWS). The infrastructure is organized into different components. -
The
fragmenty-spiderrepository contains the web crawler code for the Fragmenty project. The web crawler is built with the Scrapy framework.