Local Web Interface Page SwaggerUI
Remote Web Interface Page SwaggerUI
Server Manage Interface Prometheus Panel
Server Manage Interface Garfana Panel
Distribute System Use Messaging Queue
RabbitMQ Messaging Manage Panel
Involve Application Frontend Backend Hardware
- User Register Post:/api/register
- User Login Post:/api/login
- User ChangePassword Put:/api/changePassword
- User GetUserInfoByUsername Get:/api/userinfo/{username}
- User EditUserInfo Put:/api/EditUserInfo
- Check UserLoginStatus /Get:/api/checkLogin
- User Logout /Get:/api/logout
- Save User Firebase Cloud Messaging Token Post:/api/saveToken
- Register Api Will auto create user wallet and account
- Get WalletValueByUsername Get:/api/walletValue/{username}
- List WalletInfoByUsername Get:/api/walletInfo/{username}
- Get All Machines By Location Get:/api/machines/location?location={location}
- Link User Machine Patch:/api/machine/{machineId}/link/{userId}
- UnLink User Machine Patch:/api/machine/{machineId}/unlink
- Lock Machine Patch:/machine/lock/{machineId}
- Unlock Machine Patch:/machine/unlock/{machineId}
- Update Recycle Record Patch:/api/machine/{machineId}
- Update Machine Picture Patch:/api/machine/picture/{machineId}
- Create Machine Will Auto Create Any Garbage Type Of Machine Storage Data
- Update MachineStorage Patch:/api/machine_storage
- Read MachineStorage By Machine Get:/api/machine_storage/machine/{ID}
- Read MachineStorage By GarbageType Get:/api/machine_storage/garbage_type/{ID}
- Read BankAccount By Username Get:/api/back_acct/username/{username}
- Update User BankAccount Patch:/api/bank_acct/user
- Create something Post:/api/something
- Read something By ID GET:/api/something/{ID}
- Update something Put:/api/something/{ID}
- Delete something Delete:/api/something/{ID}
- Read all something GET:/api/somethings
- Update piece of something Patch:/api/something/{ID}
GraphQL Schema
Schema Location src/main/resource/graphql
Use Actuator and Micrometer
mvn spring-boot:run
mvn clean install
docker build -t GCBackend .
docker run -p 8080:8080 GCBackend
sudo lsof -i :8080 | grep LISTEN
kill <PID>