Skip to content

MoCherry: Sample application to build REST webservice using CherryPy & MongoDB

License

Notifications You must be signed in to change notification settings

techunits/mocherry-sample-rest-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mocherry-sample-rest-app

This app will demonstrate the implementation of an REST based webservice using MoCherry framework. We have also incorporated an initializer command to bootstrap the application with some dummy data to start your tests immediately.

Demo URL: http://fake-rest-api.techunits.com:9090

Setup Guide

In order to setup this applicaiton you have to go through following steps:

# create virtual environment
$ python -m venv testenv

# activate virtual environment
$ source testenv/bin/activate

# install required dependencies
$ pip install git+https://github.com/techunits/mocherry.git
$ pip install faker  # this will be required to generate fake dummy data for initializer

Application Initializer

$ python manage.py initializer

The application is having following components(CRUD)

  • Create article
  • List articles
  • View article details
  • Delete article

About

MoCherry: Sample application to build REST webservice using CherryPy & MongoDB

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages