Fabrika SunucusuFactory Server
Veri fabrika sunucusundaki SQL veritabanında tutulur. Win 11, Android ve iOS istemcileri aynı API'ye bağlanır. Bağlantı yokken uygulama yerel önbellekten çalışır ve yazmaları kuyrukta tutar.Data lives in SQL on the factory server. Win 11, Android and iOS clients all use the same API. With no connection the app runs from its local cache and queues writes.
BağlantıConnection
{{ connLabel }}
{{ connMsg }}
Yazma kuyruğuWrite queue
{{ queueCount }}
{{ queueNote }}
Yerel önbellekLocal cache
{{ savedNote }}
Bağlantı kesilse de çalışır.Keeps working when the link drops.
Depo veri dosyası (geçici veritabanı)Repo data file (temporary database)
Fabrika sunucusu kurulana kadar veri git deposunda tutuluyor. Uygulama açılışta data/uretim-verisi.js dosyasını okur. Tarayıcı diske yazamadığı için değişikliklerinizi indirip o dosyanın yerine koymanız ve commit etmeniz gerekir.
Until the factory server is up, data lives in the git repo. The app reads data/uretim-verisi.js on start. A browser cannot write to disk, so you download your changes, replace that file and commit.
Koda kaydetSave to code
Veriyi indirDownload data
Dosyadakine dönReload from file
{{ saveToCodeHint }}
{{ dataFileNote }}
{{ dlNote }}
- Veriyi indir → tarayıcı
uretim-verisi.js indirir.Download data → the browser saves uretim-verisi.js.
- İnen dosyayı repodaki
data/uretim-verisi.js üzerine kopyalayın.Copy it over data/uretim-verisi.js in the repo.
git add data/uretim-verisi.js → git commit → git push origin maingit add data/uretim-verisi.js → git commit → git push origin main
- Başka bilgisayarda
git pull yapıp sayfayı açınca aynı veri gelir.On another machine git pull and reload — same data.
HesapAccount
{{ loginHint }}
{{ meLine }}
Çıkış yapSign out
YetkilerinizYour permissions
{{ c.label }}
{{ meCapsNote }}
{{ pwNote }}
{{ loginNote }}
KullanıcılarUsers
Listeyi yenileRefresh
+ Yeni kullanıcı+ New user
| KullanıcıUsername |
AdName |
RollerRoles |
ÇalışanEmployee |
DurumState |
Son girişLast sign-in |
|
| {{ u.username }} |
{{ u.name }} |
{{ u.roles }} |
{{ u.emp }} |
{{ u.state }} |
{{ u.last }} |
DüzenleEdit
{{ u.lockNote }}
|
{{ udTitle }}
Roller (birden fazla seçilebilir)Roles (more than one allowed)
{{ r.mark }} {{ r.label }}
{{ udRolesLine }}
Kullanıcı adı kalıcı kimliktir, değiştirilmez. Hesap silinmez, kapatılır — parti kayıtları kullanıcıya bağlı. Parola belirlerseniz kullanıcının açık oturumları kapanır ve ilk girişte parolasını değiştirir.The username is a permanent identity and cannot be changed. Accounts are closed, not deleted — batch records are linked to the user. Setting a password closes the user's open sessions and forces a change at next sign-in.
{{ userNote }}
Roller ve yetkilerRoles and permissions
Yetkileri yükleLoad permissions
Değişiklik günlüğüChange log
Rol seçinPick a role
{{ r.label }}
{{ permRoleLockNote }}
{{ g.group }}
{{ c.mark }} {{ c.label }}
Rol yetkilerini kaydetSave role permissions
VazgeçCancel
Kişiye özel yetkilerPer-user permissions
{{ permUserHint }}
{{ u.label }}
{{ permUserRoles }} · {{ permCycleHint }}
{{ g.group }}
{{ c.mark }} {{ c.label }} {{ c.note }}
Kişiye özel yetkileri kaydetSave per-user permissions
VazgeçCancel
| ZamanWhen |
KimWho |
NeWhat |
ÖnceBefore |
SonraAfter |
| {{ l.at }} |
{{ l.actor }} |
{{ l.kind }} · {{ l.target }} |
{{ l.before }} |
{{ l.after }} |
{{ permNote }}
Sunucu adresiServer address
Sunucu kurulumu server/README.md dosyasında. Adres boş bırakılırsa uygulama tamamen yerel çalışır.Setup steps are in server/README.md. Leave the address empty to run fully local.
Sunucunun reddettiği yazmalarWrites rejected by the server
Listeyi temizleClear list
Bunlar sunucuya gitmedi ve bir daha denenmeyecek — sunucu isteği anladı ve reddetti (yetki, atama ya da geçersiz veri). Ekrandaki karşılıkları geri alındı. Gerekirse düzeltip yeniden girin.These did not reach the server and will not be retried — the server understood the request and rejected it (permission, assignment or invalid data). Their on-screen effects were rolled back. Correct and re-enter if needed.
| SaatTime |
NeWhat |
SebepReason |
| {{ x.at }} | {{ x.label }} | {{ x.error }} |
| Bekleyen yazmaPending write | Uç noktaEndpoint |
| {{ q.method }} | {{ q.path }} |
MimariArchitecture
Win 11
Android
iOS
→
REST API · Node
→
SQL Server · UretimTakip
Üç istemci de aynı uç noktaları kullanır. Açılışta bir kez tüm veri çekilir, sonra yalnızca değişenler. Veri girişi önce yerele yazılır ve istemcinin ürettiği tekil kimlikle işaretlenir; ağ gelince kuyruk boşaltılır. Sunucu aynı kimliği ikinci kez görürse yeni kayıt açmaz, böylece kuyruğu tekrar göndermek zararsızdır.
All three clients use the same endpoints. The full data set is fetched once at startup, then only what changed. Data entry is written locally first and stamped with a client-generated id; the queue drains when the network returns. The server ignores a repeated id, so re-sending the queue is harmless.