update branch todos

This commit is contained in:
hayden 2021-01-30 21:00:28 -09:00
commit 34a10f375f

View file

@ -30,6 +30,8 @@ TODO:
- [x] Category Endpoints
- [ ] Endpoint Tests
- [ ] Finish Frontend Category Management
- [ ] Delete Category / Tags
- [ ] Sort Sidebar A-Z
- [ ] Ingredient Drag-Drop / Reorder
- [ ] Refactor Endpoints
@ -48,6 +50,10 @@ def mount_static_files():
app.mount("/static", StaticFiles(directory=WEB_PATH, html=True))
def start_scheduler():
import services.scheduler.scheduled_jobs
def api_routers():
# Recipes
app.include_router(all_recipe_routes.router)
@ -71,11 +77,6 @@ if PRODUCTION:
api_routers()
def start_scheduler():
import services.scheduler.scheduled_jobs
# API 404 Catch all CALL AFTER ROUTERS
@app.get("/api/{full_path:path}", status_code=404, include_in_schema=False)
def invalid_api():