Skip to content

sitga/AssetFixed

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asset Fixed Management System

This repository contains an intranet-ready fixed asset management system with a Spring Boot backend and a Vue 3 frontend.

Default Admin

  • Username: admin
  • Password: admin123

Backend

  • Tech: Java 21, Spring Boot 3, PostgreSQL, Flyway
  • Location: backend/

Run (local)

  1. Create a PostgreSQL database: asset_fixed
  2. Update backend/src/main/resources/application.yml
  3. Start backend:
    • mvn spring-boot:run

Frontend

  • Tech: Vue 3, Vite, Element Plus
  • Location: frontend/

Run (local)

  1. Install deps: npm install
  2. Start dev server: npm run dev

Docker

Build and run with Docker Compose:

docker compose up --build

Single Image (All-in-One)

Build and run a single container that includes PostgreSQL + Redis + Backend + Frontend:

docker build -t asset-fixed-allinone .
docker run -d -p 8081:80 -p 8080:8080 -v asset_fixed_db:/var/lib/postgresql/data -v asset_fixed_storage:/data/storage asset-fixed-allinone

Modules

  • Organization: departments, users, roles, permissions (RBAC)
  • Assets: computer + physical assets, CRUD, events, code rules
  • Approval: workflow + external callback endpoints
  • Depreciation: policies, calculation records
  • Attachments: file upload, download, list, delete
  • Audit: operation logs

API Base Paths

  • /api/auth/*
  • /api/org/*
  • /api/assets/*
  • /api/approvals/*
  • /api/integration/approvals/*
  • /api/depreciation/*
  • /api/attachments/*
  • /api/audit/*

About

适用公司内部的固定资产管理系统

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 54.4%
  • Vue 35.8%
  • TypeScript 5.7%
  • CSS 2.4%
  • JavaScript 0.7%
  • Dockerfile 0.5%
  • Other 0.5%