Skip to content

avatar29A/wordeater-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordEater RestFull API server

Build Status

WordEater it's project what need to help you learn new foreign words

Requirements

Installation

  • Clone project
git clone https://github.com/h-qub/wordeater-web/
  • Install all requirements for python
pip install -r requirements
  • Next, you can create new file with name 'settings.ini' and copy to all strings from settings.default.ini. And put it into we-web folder.

For example settings.ini

[DATABASE]
host=127.0.0.1
port=27017
db_name=we_db

[MEMCACHED]
host=127.0.0.1
port=11211

[LOGGER]
directory=C:\temp\wordeater\we.log

[APPLICATION]
cards_in_group_amount=10
version=0.1.0
session_expires=5184000
is_debug=0

Run

  • For what would run application you need invoke next command:
$ python run.py
  • If all is ok, you can see:
* Running on http://127.0.0.1:5050/ (Press CTRL+C to quit) 
  • For test API open url:
http://127.0.0.1:5050/api/

Tests

Application contains functional tests. You may find they into /we-web/tests/ folder.

we-web tests dal - tests for Service and DB layer rest - tests for REST layer

All test you may run with help nose test runner (http://nose.readthedocs.org/).

Contacts

For any questions, you may create new Issue or write me on email: avatar29A@gmail.com

Enjoy!

About

WordEater it's project what need to help you learn new foreign words

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages