tiddly


Nametiddly JSON
Version 1.0.11 PyPI version JSON
download
home_pagehttps://prahladyeri.github.io/flask-tiddly
SummaryFlask-Tiddly is a minimal, prototype RESTful server for basic CRUD transactions.
upload_time
maintainer
docs_urlNone
authorPrahlad Yeri
requires_pythonNone
licenseMIT
keywords flask rest server sqlalchemy
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            `tiddly` is a minimal, prototype RESTful server app for basic CRUD transactions. It is database agnostic and uses `sqlalchemy` on the backend to talk to RDBMS. The database is `sqlite` by default, but you can switch to anything you want by making this small change in the `models.py` file:

	#TODO: Change as needed:
	engine = create_engine("sqlite:///tiddly.db", echo=True)
	Base = declarative_base()

You can host this app and use it as your own replacement for any cloud based backend such as `firebase` or `CouchDB` as long as you follow the CRUD based I/O approach. The RESTful methods are versatile and compatible with the data needs of typical Single Page Apps developed in frameworks like `angular`, `backbone` or `ember`. For example:

| Request | url | body | Action |
| ----- | ----- | ----- | ----- |
| GET  	| /books | 		| Get all rows from the books table.| 
| GET  	| /books/1 | 		| Fetch the book record where the `id` field equals `1`.| 
| POST 	| /books | {"name":"Harry Potter and the order of the Phoenix."}		| Insert record into books table from posted JSON data.| 
| PUT  	| /books/1 | {"name":"Some new title."}		| Update the record where `id` equals `1` with posted JSON data.| 
| DELETE | /books/1 |	| Delete the record where `id` equals `1`.|
            

Raw data

            {
    "_id": null,
    "maintainer": "",
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": "",
    "cheesecake_code_kwalitee_id": null,
    "keywords": "flask rest server sqlalchemy",
    "author": "Prahlad Yeri",
    "home_page": "https://prahladyeri.github.io/flask-tiddly",
    "download_url": "https://github.com/prahladyeri/tiddly",
    "platform": "Linux, Windows, Mac",
    "version": "1.0.11",
    "cheesecake_documentation_id": null,
    "description": "`tiddly` is a minimal, prototype RESTful server app for basic CRUD transactions. It is database agnostic and uses `sqlalchemy` on the backend to talk to RDBMS. The database is `sqlite` by default, but you can switch to anything you want by making this small change in the `models.py` file:\r\n\r\n\t#TODO: Change as needed:\r\n\tengine = create_engine(\"sqlite:///tiddly.db\", echo=True)\r\n\tBase = declarative_base()\r\n\r\nYou can host this app and use it as your own replacement for any cloud based backend such as `firebase` or `CouchDB` as long as you follow the CRUD based I/O approach. The RESTful methods are versatile and compatible with the data needs of typical Single Page Apps developed in frameworks like `angular`, `backbone` or `ember`. For example:\r\n\r\n| Request | url | body | Action |\r\n| ----- | ----- | ----- | ----- |\r\n| GET  \t| /books | \t\t| Get all rows from the books table.| \r\n| GET  \t| /books/1 | \t\t| Fetch the book record where the `id` field equals `1`.| \r\n| POST \t| /books | {\"name\":\"Harry Potter and the order of the Phoenix.\"}\t\t| Insert record into books table from posted JSON data.| \r\n| PUT  \t| /books/1 | {\"name\":\"Some new title.\"}\t\t| Update the record where `id` equals `1` with posted JSON data.| \r\n| DELETE | /books/1 |\t| Delete the record where `id` equals `1`.|",
    "lcname": "tiddly",
    "name": "tiddly",
    "github": false,
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Flask-Tiddly is a minimal, prototype RESTful server for basic CRUD transactions.",
    "split_keywords": [
        "flask",
        "rest",
        "server",
        "sqlalchemy"
    ],
    "author_email": "prahladyeri14@gmail.com",
    "urls": [],
    "cheesecake_installability_id": null
}
        
Elapsed time: 0.05722s