Skip to content

REST server for getting/creating/updating some data via HTTP

Notifications You must be signed in to change notification settings

iiivnv/booksrest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

booksrest

REST server for getting/creating/updating some data via HTTP

How to run the Server

In the current directory run command and verify two messages below:

$ python server.py
INFO. Server is listening to localhost:8080.
DB exists and tables created.

This command will run server on localhost:8080
The SQLite database file adevatest.db will be created in the current folder.

This Server uses standard SimpleHTTPServer which is part of Python 2.7 so it is not needed to install any other Python packages except one which is part of requirements. This package is 'anapioficeandfire-python'. To install it to Python 2.7 use:

sudo pip2 anapioficeandfire

For testing use queries from task description.

List of supported commands in accordance with sections in task description:

About

REST server for getting/creating/updating some data via HTTP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages