2.2 KiB
2.2 KiB
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
This is a website project for the radiophotonics department (ru.radiophotonics), currently in planning phase. The project is designed to create a flexible, easily administrable website for academic/research purposes.
Planned Architecture
Based on Plan.md, this will be a full-stack web application with:
- Frontend: React + Next.js
- Backend: Go (REST API)
- Database: PostgreSQL
- File Storage: MinIO or S3-compatible storage
- Authentication: JWT with role-based access (Editor with login, Observer without login)
- Admin Panel: Web interface for content management
Main Sections (Planned)
- Main Page - General lab information and mission
- Publications and News - Publication lists, PDF attachments, news publishing
- RIDs (Intellectual Property Results) - Patents, developments, programs catalog
- Projects - Project listings with related RIDs, publications, news, partners
- Partners - Collaboration information and project links
- Staff - Employee directory with photos, positions, contacts, publications
- Contacts - Address, maps (Google/Yandex), contact form
- For Students - Educational materials, handbooks (PDFs), schedules, instructions
Technical Stack (Recommended)
Backend (Go)
- Gin or Echo for API framework
- GORM for database ORM
- JWT for authentication
Frontend (Next.js)
- TailwindCSS or shadcn/ui for styling
- Axios/React Query for API communication
Editor Features
- WYSIWYG editor (tiptap or CKEditor)
- Drag-and-drop file upload
- Content management panel
Development Phases
- Design Phase: Database schema, API design
- MVP: Basic backend CRUD + frontend with main sections + auth
- Admin Panel: Content editing interface, file uploads
- UI Improvements: Search, filters, image optimization, user roles
- Deployment: Docker deployment, SSL setup
Repository Status
This repository is in the initial planning stage with only Plan.md containing the project specification. No build tools, package managers, or source code have been implemented yet.