No description
Find a file
2025-12-05 16:27:51 +01:00
backend better provider 2025-12-05 14:38:45 +01:00
docs new feat doc 2025-12-05 16:27:51 +01:00
frontend better provider 2025-12-05 14:38:45 +01:00
scripts works 2025-11-30 12:57:22 +01:00
.envrc init 2025-11-29 20:35:23 +01:00
.gitignore perms 2025-11-29 21:44:45 +01:00
AGENTS.md api-generate 2025-11-30 13:42:57 +01:00
devenv.lock init 2025-11-29 20:35:23 +01:00
devenv.nix api-generate 2025-11-30 13:42:57 +01:00
devenv.yaml init 2025-11-29 20:35:23 +01:00
LICENSE.txt some 2025-11-30 12:51:12 +01:00
opencode.json init 2025-11-29 20:35:23 +01:00
README.md some 2025-11-30 12:51:12 +01:00
recreate_admin_permissions.py rec 2025-12-01 16:43:04 +01:00
secretspec.toml postgres ini 2025-11-30 16:21:22 +01:00

Flux

Flux is a modern full-stack application built with FastAPI and React, utilizing Refine for the frontend and Shadcn UI for components. It leverages devenv for a reproducible development environment.

Tech Stack

Backend

Frontend

Prerequisites

Getting Started

This project uses devenv to manage dependencies and services.

  1. Clone the repository:

    git clone <repository-url>
    cd fluxapp
    
  2. Start the development environment:

    devenv up
    

    This command will start all necessary services, including the backend API and frontend development server.

Project Structure

fluxapp/
├── backend/          # FastAPI application
│   ├── app/          # Application source code
│   ├── alembic/      # Database migrations
│   └── tests/        # Backend tests
├── frontend/         # React application
│   ├── src/          # Frontend source code
│   └── public/       # Static assets
├── devenv.yaml       # Development environment configuration
└── README.md         # Project documentation

Documentation

Development

Backend

Navigate to the backend directory:

cd backend
  • Run Tests:
    pytest
    
  • Linting:
    ruff check .
    
  • Type Checking:
    mypy .
    

Frontend

Navigate to the frontend directory:

cd frontend
  • Start Dev Server:
    npm run dev
    # or
    refine dev
    
  • Build for Production:
    npm run build
    
  • Linting:
    eslint .