Made with Eve: a Python REST API Framework based on Flask, Cerberus and MongoDB.
This app is hosted on Heroku and MongoDB database on mLab. Try it out:
$ curl -i https://kumparan-donny.herokuapp.com/news?pretty
To connect using a driver via the standard MongoDB URI:
mongodb://donny:donny123@ds241658.mlab.com:41658/kumparan
- If you want to run this app locally, create
.env
file on your own:
HOST=127.0.0.1
DB_HOST=localhost
DB_PORT=27017
DB_NAME=kumparan
- Install requirement dependencies
$ pip install -r requirements.txt
- Run the app
$ python app.py
- CRUD news
- CRUD topic
- One news can contains multiple topics and one topic has multiple news
- Filter by news status
- Filter news by topic