Skip to content

Danburen/simple-ship-managerment

Repository files navigation

simple-ship-managerment

A simple ship managerment for Software engineering course training in two weeks.

GitHub Release GitHub License GitHub Downloads (all assets, all releases)

Build with SpringBoot + mysql + redis with tencent cos cloud file storage.

Help with trae.cn solo mode

Preview

image image image image

How to build

  • require Java JDK 22 or newer
  • test frontend run in nodejs 22+
git clone https://github.com/Danburen/simple-ship-managerment
gradlew clean build
cd .\web-client\
npm install
  • optional generate your own RSA public key and private for rsa jwt token sign and verify algorithm with OpenSSL
cd .\src\main\resources\keys
openssl genpkey -algorithm RSA -out private_key.pem -pkeyopt rsa_keygen_bits:2048
openssl rsa -pubout -in private_key.pem -out public_key.pem

How to run in dev

  • preparation

Important

make sure you have already installed nodejs 22 make sure you have already installed redis and mysql8.0+ config your system environment variable for tencent cos.

  • backend:
cd .\

run with springboot in your idea. or run with gradlew use:

gradlew bootRun
  • frontend:
cd .\web-client\
npm run dev 

Hot to use

Note

  1. register your account.
  2. login with your account.
  3. click whatever you want to do.

some resource are form web, If there is any infringement, please contact me to delete.