clean up, update readme

This commit is contained in:
Uthpala Heenatigala 2022-12-07 23:56:22 +01:00
parent 244f440cb8
commit 472e332d05
3 changed files with 1 additions and 37 deletions

View file

@ -1,4 +1,4 @@
<h1>Example Extension</h1>
<h1>Deezy Extension</h1>
<h2>*tagline*</h2>
This is an example extension to help you organise and build you own.

View file

@ -13,4 +13,3 @@ def deezy_renderer():
from .views import * # noqa
from .views_api import * # noqa

View file

@ -1,35 +0,0 @@
# views_api.py is for you API endpoints that could be hit by another service
# add your dependencies here
# import httpx
# (use httpx just like requests, except instead of response.ok there's only the
# response.is_error that is its inverse)
from . import deezy_ext
# add your endpoints here
@deezy_ext.get("/api/v1/tools")
async def api_example():
"""Try to add descriptions for others."""
tools = [
{
"name": "fastAPI",
"url": "https://fastapi.tiangolo.com/",
"language": "Python",
},
{
"name": "Vue.js",
"url": "https://vuejs.org/",
"language": "JavaScript",
},
{
"name": "Quasar Framework",
"url": "https://quasar.dev/",
"language": "JavaScript",
},
]
return tools