feat: RRBEC Local Server - Go backend with Django sync

- Implement local-first architecture with SQLite
- Add bidirectional sync with Django via ChangeLog
- JWT authentication with auto-refresh token
- REST API for products, orders, commands, payments
- Stock management with automatic deduction
This commit is contained in:
2026-04-04 17:38:40 -03:00
commit 936aad779b
20 changed files with 3159 additions and 0 deletions

8
rrbec_server/.env Normal file
View File

@@ -0,0 +1,8 @@
# Server Configuration
PORT=8080
DB_NAME=rrbec.db
# Django Cloud Configuration
DJANGO_BASE_URL=http://127.0.0.1:8000
DJANGO_MASTER_USER=welton89
DJANGO_MASTER_PASSWORD=pindoba10