Project Template for a high-performance RESTful web service in Python, using falcon-jsonify middleware and MongoEngine Object-Document-Mapper.
- Install PyPy (or just use
Python 2.7) and MongoDB - Check database credentials at
src/settings.py - Install dependencies on a
virtualenv:
virtualenv -p /usr/bin/pypy env
source env/bin/activate
pip install -r requirements.txt
./run_server.sh
Listening at localhost:8000. Gunicorn is used as WSGI HTTP Server.
Demo routes:
POST /api/example {"email": "value"}create an itemGET /api/examplereturn all items