Spaces:
Sleeping
Sleeping
title: EduConnect | |
emoji: π | |
colorFrom: red | |
colorTo: pink | |
sdk: docker | |
pinned: false | |
license: apache-2.0 | |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference | |
``` | |
EduConnect/ | |
βββ app/ | |
β βββ __init__.py # Initializes the FastAPI app and global configurations | |
β βββ main.py # Entry point for the FastAPI application, defining routes | |
β βββ dependencies.py # Dependency utilities for JWT token verification, etc. | |
β βββ api/ | |
β β βββ __init__.py | |
β β βββ userlogin.py # Endpoint for user login functionality | |
β β βββ userlogout.py # Endpoint for user logout functionality | |
β β βββ userchat.py # Endpoint for chat functionality | |
β β βββ userupload.py # Endpoint for file upload functionality | |
β β βββ userhistory.py # Endpoint for loading chat history | |
β βββ admin/ | |
β β βββ __init__.py | |
β β βββ admin_functions.py # Contains server-side logic for admin tasks | |
β β βββ templates/ # Jinja2 templates for admin UI | |
β β βββ admin_login.html # Template for admin login page | |
β β βββ user_registration.html # Template for user registration page | |
β βββ utils/ | |
β βββ __init__.py | |
β βββ db.py # Centraized DB functions for ChromaDB collections, TinyDB | |
β βββ jwt_utils.py # Utility for JWT tokens | |
β βββ ec_image_utils.py # Integrates MTCNN and Facenet for login authentication | |
βββ static/ | |
β βββ css/ # CSS for the administration portal | |
β βββ js/ # Javascripts if any for administration portal | |
β βββ images/ # UI rendering images for administration page | |
βββ Dockerfile # Docker configuration for setting up the environment | |
βββ requirements.txt # Lists all Python library dependencies | |
βββ .env # Environment variables for configuration settings | |
``` |