Rastreamento de Acesso

Environment

This app was build with Ruby 2.4.2 and Rails 5.1.4.

Install

  • Install dependencies:
$ bundle install
  • Create and generate database migrations:
$ rake db:create
$ rake db:migrate
  • Start the api
$ rails s

API endpoints

Sample Site

https://vast-hamlet-73400.herokuapp.com/acessos

Example Site

The code for the example site is inside folder 'site'

- site
  |- js
    |- access_crawler.js
  |- css
    |- bootstrap.css
    |- bootstrap.min.css
  |- index.html
  |- price.html
  |- contact.html