Initial version
This commit is contained in:
57
CLAUDE.md
Normal file
57
CLAUDE.md
Normal file
@ -0,0 +1,57 @@
|
||||
# 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)
|
||||
|
||||
1. **Main Page** - General lab information and mission
|
||||
2. **Publications and News** - Publication lists, PDF attachments, news publishing
|
||||
3. **RIDs (Intellectual Property Results)** - Patents, developments, programs catalog
|
||||
4. **Projects** - Project listings with related RIDs, publications, news, partners
|
||||
5. **Partners** - Collaboration information and project links
|
||||
6. **Staff** - Employee directory with photos, positions, contacts, publications
|
||||
7. **Contacts** - Address, maps (Google/Yandex), contact form
|
||||
8. **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
|
||||
|
||||
1. **Design Phase**: Database schema, API design
|
||||
2. **MVP**: Basic backend CRUD + frontend with main sections + auth
|
||||
3. **Admin Panel**: Content editing interface, file uploads
|
||||
4. **UI Improvements**: Search, filters, image optimization, user roles
|
||||
5. **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.
|
||||
Reference in New Issue
Block a user