Downloads · 30 days
0
ndmaivy/vvvv
vvvv is a machine learning model from ndmaivy. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Full-stack learning management system with FastAPI backend and Next.js frontend.
Downloads · 30 days
0
Access
Public
Updated May 28, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.md3.2 KB · 68%
From the Hugging Face model README
Full-stack learning management system with FastAPI backend and Next.js frontend.
hmi/
├── backend/ # FastAPI Python backend
├── frontend/ # Next.js React frontend
└── .venv/ # Shared Python virtual environment
# Install Python dependencies (venv already exists at root)
source .venv/bin/activate
pip install -r backend/requirements.txt
# Configure environment
cd backend
cp .env.example .env
# Edit .env with your database credentials
# Run backend
uvicorn app.main:app --reload --port 8000
Backend will run on http://localhost:8000
cd frontend
npm install
npm run dev
Frontend will run on http://localhost:3000
See backend/README.md for complete API documentation.
/api/v1/login/access-token - Authentication/api/v1/users/ - User management/api/v1/courses/ - Course CRUD/api/v1/lessons/ - Lesson management/api/v1/topics/ - Topic management/api/v1/enrollments/ - Course enrollment & progresscd backend
source ../.venv/bin/activate
# Run with hot reload
uvicorn app.main:app --reload
# Run tests (when implemented)
pytest
cd frontend
# Development server
npm run dev
# Build for production
npm run build
# Lint code
npm run lint
-- Create database
CREATE DATABASE appdb;
-- Tables are auto-created by SQLModel on startup
For production, use migrations:
cd backend
pip install alembic
alembic init migrations
alembic revision --autogenerate -m "Initial migration"
alembic upgrade head
DATABASE_URL=mysql+asyncmy://user:[email protected]:3306/appdb
REDIS_URL=redis://127.0.0.1:6379/0
SECRET_KEY=your-secret-key-change-in-production
NEXT_PUBLIC_API_URL=http://localhost:8000
docker-compose up
Backend:
Frontend:
MIT