Smart Backpacker is an App where you can find Visa Requirements information for any country in the world regardless of your nationality, currency exchange, health information and airline's baggage policy among others.
Metrics Snapshot (12th Feb of 2018)
Anybody with a GitHub account can view these metrics in real time on http://stats.smartbackpackerapp.com/
It's the main back-end application exposing the Http Rest API (See documentation). It also contains a token generator.
It contains the job to insert new airline's data using plain files as the source (
fs2.io is used here).
It contains some utils for
fs2.Stream, logging, testing, etc.
It has all the html page parsers and scrapers and all the jobs to insert parsed data into the DB.
sbt project scraper
- Retrieve Visa Requirements from Wikipedia and persist it to the DB:
- Retrieve Visa Restrictions Index (Passport Ranking) from Wikipedia and persist it to the DB:
- Retrieve Health information from CDC and persist it to the DB:
- Insert initial data (Countries and Visa Categories) into the DB:
run loadCountries run updateCountries run loadVisaCategories
Smart Backpacker uses PostgreSQL as the main data storage.
We love Functional Programming. That's why we choose and support the Typelevel stack. We also use a few other dependencies (see
build.sbt for more):
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.