add project base
This commit is contained in:
3
backend/src/templates/__init__.py
Normal file
3
backend/src/templates/__init__.py
Normal file
@@ -0,0 +1,3 @@
|
||||
# SPDX-FileCopyrightText: 2026-present Julien Aldon <julien.aldon@wanadoo.fr>
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
19
backend/src/templates/templates.py
Normal file
19
backend/src/templates/templates.py
Normal file
@@ -0,0 +1,19 @@
|
||||
from fastapi import APIRouter
|
||||
|
||||
router = APIRouter(prefix='/templates')
|
||||
|
||||
@router.get('/')
|
||||
def get_templates():
|
||||
return []
|
||||
|
||||
@router.post('/')
|
||||
def create_template():
|
||||
return {}
|
||||
|
||||
@router.put('/')
|
||||
def update_template():
|
||||
return {}
|
||||
|
||||
@router.delete('/')
|
||||
def delete_template():
|
||||
return {}
|
||||
Reference in New Issue
Block a user