Skip to content

DaulGitHub/linksaver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Links saver

  1. in stall redis database
  2. activate virtualenv
  3. install requirements.txt
    $ pip install -r requirements.txt
  4. run application
    flask run
test

manual:
please open console
$ curl --header "Content-Type: application/json" --request POST --data '{ "links": ["https://ya.ru", "https://ya.ru?q=123", "funbox.ru", "https://stackoverflow.com/questions/11828270/how-to-exit-the-vim-editor"] }' http://localhost:5000/visited_links

$ "http://localhost:5000/visited_domains?from=1385640049&to=1885840286"

for run autotests, execute
$ python -m pytest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages