2026-03-31 13:48:10 +07:00
2026-03-26 13:47:46 +07:00
2026-03-31 13:48:10 +07:00
2026-03-31 13:48:10 +07:00
2026-03-27 09:56:26 +07:00
2026-03-31 13:48:10 +07:00
2026-03-31 10:20:27 +07:00
2026-03-27 10:46:06 +07:00
2026-03-27 10:46:06 +07:00
2026-03-31 13:48:10 +07:00
2026-03-27 09:56:26 +07:00

🎯 AccManager - SQL Server Backend Setup Complete

Database Configuration Complete

SQL Server database AccManager has been successfully configured with all necessary tables and initial data.

📊 Database Information

Server IP:  172.20.235.176
Database:   AccManager
User:       sa
Password:   robotics@2020
Port:       1433 (default)

👤 Default Admin Account

Username:   admin
Password:   admin
Role:       admin
Status:     Active

📋 Database Tables Created

1. Users - User Management

  • Stores login credentials and user roles
  • Default admin user: admin/admin

2. Applications - Service Management

  • 4 sample applications pre-loaded:
    • AWS (Cloud) - online
    • GitHub (VCS) - online
    • Google Workspace (Collaboration) - online
    • Nginx Proxy (Infra) - offline

3. Accounts - Credential Storage

  • Stores credentials for each user-application combination
  • Linked to Users and Applications tables

4. AuditLog - Activity Tracking

  • Logs all INSERT, UPDATE, DELETE operations
  • User actions tracked for security

🚀 Backend Server Options

Files:

  • server.js - Main server file
  • package.json - Dependencies

Quick Start:

# 1. Install Node.js from https://nodejs.org/
# 2. Install dependencies
npm install

# 3. Run server
npm start

# Server runs on: http://localhost:3000

Option 2: Python + Flask

Files:

  • server_python.py - Main server file
  • requirements.txt - Dependencies

Quick Start:

# 1. Install Python 3.8+ from https://www.python.org/
# 2. Install dependencies
pip install -r requirements.txt

# 3. Run server
python server_python.py

# Server runs on: http://localhost:5000

📡 API Endpoints

Health Check

GET /api/health

Authentication

POST /api/auth/login

Users Management

GET    /api/users
GET    /api/users/:id
POST   /api/users

Applications

GET  /api/applications
POST /api/applications

Accounts

GET  /api/accounts/user/:userId
POST /api/accounts

Database Info

GET /api/database/info

📚 Documentation Files

  • README.md (this file) - Overview
  • SETUP_GUIDE.md - Detailed installation steps
  • DATABASE_SETUP.md - Schema and API documentation
  • server.js - Node.js backend source
  • server_python.py - Python backend source

🔐 Default Credentials

Username: admin
Password: admin
Role:     admin

🔧 Project Files

d:\RoboticsSource\AccManager\
├── server.js              (Node.js backend)
├── server_python.py       (Python backend)
├── package.json           (Node.js dependencies)
├── requirements.txt       (Python dependencies)
├── .env                   (Configuration)
├── database/
│   └── setup.sql         (SQL setup script)
├── SETUP_GUIDE.md        (Installation guide)
├── DATABASE_SETUP.md     (Database documentation)
└── README.md             (This file)

Status

  • ✓ Database created (AccManager)
  • ✓ 4 tables created (Users, Applications, Accounts, AuditLog)
  • ✓ Admin user created (admin/admin)
  • ✓ Sample applications added
  • ✓ Backend servers ready (Node.js + Python options)
  • ✓ API endpoints documented

Version: 2.0.0 (Backend Ready)
Database: SQL Server / AccManager
Last Updated: March 27, 2026

Description
No description provided
Readme 2 MiB
Languages
JavaScript 80.8%
HTML 16.3%
TSQL 2.9%