Skip to content
MoCherry: Sample application to build REST webservice using CherryPy & MongoDB
Python
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
cms
.gitignore
LICENSE
README.md
manage.py
urls.py

README.md

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
You can’t perform that action at this time.