Skip to content

techunits/mocherry-sample-rest-app

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
cms
 
 
 
 
 
 
 
 
 
 
 
 

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

No packages published

Languages