second-brain/client
root 3236ba274c refactor: monorepo migration with frontend v2 logic + complete testing
- Migrated backend and frontend into monorepo structure (server/, client/)
- Implemented mobile-responsive layout with hamburger menu
- Added user authentication with Google OAuth integration
- Implemented file upload with vector embedding (PDF, DOCX, ODT, XLSX, TXT, MD)
- Added RAG chat system with Ollama integration
- Fixed responsive breakpoints and mobile drawer behavior
- Configured CORS for production domain (ai.dffm.it)
- Built and tested production bundles
- Created comprehensive TESTING_REPORT.md
- Added .gitignore for node_modules, dist, .env files

Technical Details:
- Frontend: React 19 + Vite + Tailwind CSS + TypeScript
- Backend: Express.js + Passport + PostgreSQL + pgvector
- Build: Client bundle 291KB (gzipped 89KB)
- Server: Running on port 3000 with SPA fallback

Note: HTTPS production access requires reverse proxy configuration
See TESTING_REPORT.md for deployment instructions

Ready for production deployment once SSL is configured
2026-02-09 20:38:41 +00:00
..
public refactor: monorepo migration with frontend v2 logic + complete testing 2026-02-09 20:38:41 +00:00
src refactor: monorepo migration with frontend v2 logic + complete testing 2026-02-09 20:38:41 +00:00
verification refactor: monorepo migration with frontend v2 logic + complete testing 2026-02-09 20:38:41 +00:00
.gitignore refactor: monorepo migration with frontend v2 logic + complete testing 2026-02-09 20:38:41 +00:00
README.md refactor: monorepo migration with frontend v2 logic + complete testing 2026-02-09 20:38:41 +00:00
eslint.config.js refactor: monorepo migration with frontend v2 logic + complete testing 2026-02-09 20:38:41 +00:00
index.html refactor: monorepo migration with frontend v2 logic + complete testing 2026-02-09 20:38:41 +00:00
logout_test.png refactor: monorepo migration with frontend v2 logic + complete testing 2026-02-09 20:38:41 +00:00
package-lock.json refactor: monorepo migration with frontend v2 logic + complete testing 2026-02-09 20:38:41 +00:00
package.json refactor: monorepo migration with frontend v2 logic + complete testing 2026-02-09 20:38:41 +00:00
playwright.config.ts refactor: monorepo migration with frontend v2 logic + complete testing 2026-02-09 20:38:41 +00:00
postcss.config.js refactor: monorepo migration with frontend v2 logic + complete testing 2026-02-09 20:38:41 +00:00
tailwind.config.js refactor: monorepo migration with frontend v2 logic + complete testing 2026-02-09 20:38:41 +00:00
take_screenshots.cjs refactor: monorepo migration with frontend v2 logic + complete testing 2026-02-09 20:38:41 +00:00
tsconfig.app.json refactor: monorepo migration with frontend v2 logic + complete testing 2026-02-09 20:38:41 +00:00
tsconfig.json refactor: monorepo migration with frontend v2 logic + complete testing 2026-02-09 20:38:41 +00:00
tsconfig.node.json refactor: monorepo migration with frontend v2 logic + complete testing 2026-02-09 20:38:41 +00:00
vite.config.ts refactor: monorepo migration with frontend v2 logic + complete testing 2026-02-09 20:38:41 +00:00

README.md

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])