Skip to content

novotarq/api_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

  • This is a very simple API app, including only one controller with two methods:
  1. GET /api/v1/pages - this method does not need any params, it presents all of the pages created by the next method
  2. POST /api/v1/pages- this method needs page param with url param (a proper url). Then it does its magic in the background (downloading all of the needed info like link hrefs and h1, h2 and h3 inner html content)
  • There is no special configuration, just use Ruby 2.x, migrate the database and run rails server.

  • There are some tests written as well, you can launch them just by calling rake.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published