This is an automated email from the ASF dual-hosted git repository.

garyw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mnemonic-site.git

commit 0ab8ebd4fcdeac4b99a9d84efef2acac54edc4e5
Author: Yanhui Zhao <[email protected]>
AuthorDate: Sun Jan 9 05:40:05 2022 +0000

    MNEMONIC-701: Setup backend web framework skeleton with current request 
interfaces
---
 fastapi/server.py | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/fastapi/server.py b/fastapi/server.py
index 08b9af9..3b6c89f 100644
--- a/fastapi/server.py
+++ b/fastapi/server.py
@@ -6,3 +6,27 @@ app = FastAPI()
 @app.get("/")
 def mnemonic_home():
     return {"Apache Mnemonic Home"}
+
[email protected]("/docs")
+def mnemonic_docs():
+    return {"Mnemonic documentation home page"}
+
[email protected]("/downloads")
+def mnemonic_downloads():
+    return {"Mnemonic downloads home page"}
+
[email protected]("/talks")
+def mnemonic_talks():
+    return {"Mnemonic talks home page"}
+
[email protected]("/news")
+def mnemonic_news():
+    return {"Mnemonic news home page"}
+
[email protected]("/develop")
+def mnemonic_develop():
+    return {"Mnemonic development home page"}
+
[email protected]("/help")
+def mnemonic_help():
+    return {"Mnemonic help home page"}

Reply via email to