Absolutely! Here's your complete README.md
file content for Fitrat ERP — ready to copy and paste into your repo root.
# 💼 Fitrat ERP
**Fitrat ERP** is a powerful, full-featured ERP system built for educational institutions and training centers.
It’s developed using **Django**, **Django REST Framework**, **Docker**, and a modern **Next.js frontend**.
Fitrat is modular, scalable, and ready for production with payment integrations, Telegram bots, attendance systems, and more.
---
## 🌐 Project Repositories
- 🧠 **Backend**: [Fitrat ERP Backend](https://github.com/ShohjahonObruyevOybekovich/Fitrat-ERP)
- 🎨 **Frontend**: [Fitrat ERP Frontend](https://github.com/Sadriddin0124/fitrat_erp)
---
## ⚙️ Features
- ✅ Lead & Student Management
- ✅ Staff & Role System
- ✅ Task, Attendance & Finance Modules
- ✅ Payme & Click UZ Payment Integration
- ✅ Telegram Bot Support
- ✅ External APIs: Sayqal & TicTac Integration
- ✅ Dockerized Backend
- ✅ SSL-Ready NGINX Deployment
- ✅ Admin Panel Included
---
## 🧰 Backend Setup
### 1. Clone & Navigate
```bash
git clone https://github.com/ShohjahonObruyevOybekovich/Fitrat-ERP.git
cd Fitrat-ERP
Create .env
in the project root and paste this:
# SECURITY
SECRET_KEY='django-insecure-...'
ALLOWED_HOSTS=127.0.0.1,localhost:3000,api.ft.sector-soft.ru,ft.sector-soft.ru,...
# DATABASE
POSTGRES_DB="fitrat"
POSTGRES_USER="fitrat_user"
POSTGRES_PASSWORD="fitrat_db_pass01#"
POSTGRES_HOST="postgres"
POSTGRES_PORT=5432
DEBUG=True
DATABASE_URL=postgres://postgres:1@localhost:5432/fitrat
# PROJECT
COMPOSE_PROJECT_NAME=fitrat_ilm
# TELEGRAM BOT
WEBHOOK_SECRET=your_webhook_secret
BOT_TOKEN=your_bot_token
# PAYME
PAYME_ID="..."
PAYME_KEY="..."
PAYME_ACCOUNT_FIELD="id"
PAYME_ACCOUNT_MODEL="student.student.model.Student"
PAYME_ONE_TIME_PAYMENT=False
# CLICK UZ
CLICK_SERVICE_ID="..."
CLICK_MERCHANT_ID="..."
CLICK_SECRET_KEY="..."
CLICK_ACCOUNT_MODEL="clickuz.models.Order"
CLICK_AMOUNT_FIELD="amount"
# INTEGRATIONS
TT_URL="https://api.tictac.sector-soft.ru/restapi"
INTEGRATION_TOKEN="abcd1234"
SAYQAL_USERNAME=sectorsoft
SAYQAL_TOKEN=b2ddd7d417519...
Update exposed ports if necessary:
nano docker-compose.yaml
docker compose up -d --build
docker compose exec django sh
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
server {
server_name ft.sector-soft.ru;
location / {
proxy_pass http://localhost:8000;
include proxy_params;
}
location /static/ {
alias /app/static/;
}
location /media/ {
alias /app/media/;
}
}
sudo certbot --nginx
git clone https://github.com/Sadriddin0124/fitrat_erp.git
cd fitrat_erp
NEXT_PUBLIC_API_URL=https://api.ft.sector-soft.ru
nano package.json
# Change port if needed
pnpm install
pnpm build
pm2 start npm --name fitrat_front -- start
pm2 save
pm2 restart all





Got ideas? Issues? Fixes? Fork the repo, create a branch, and make a PR. Contributions are more than welcome!
MIT — Use, modify, and deploy freely.
Developers:
- 🧠 Backend: Shohjahon Obruyev
- 🎨 Frontend: Sadriddin Ravshanov
Built with ❤️ by SectorSoft and contributors.