- The web application allows users to manage their inventory.
- Adding/Updating stocks
- Browsing items with line chart format (quantity with sold date/purchasing date/wasted date)
- Checking items in the selected location
- Java Spring framework / Spring Boot
- Vue.js for website UI
- Chart.js for displaying chart lines (integrated into Vue.js components)
- PostgreSQL for storing data (User information and Inventory information)
-
Set the database username and password as system properties:
- For Linux or macOS:
export DB_USERNAME=your_username export DB_PASSWORD=your_password
- For Windows:
set DB_USERNAME=your_username set DB_PASSWORD=your_password
- For Linux or macOS:
- Clone the repository to your local machine:
git clone https://github.com/JohnsonJapow/Inventory.git
- Move to the inventory directory:
cd .\inventory
- Run the server:
.\mvnw spring-boot:run
- Move to the frontend directory:
cd .\inventory\frontend
- Run the client:
npm run serve
- By default, the client runs on localhost:8080
- By default, the server runs on localhost:4321
- By default, the database runs on localhost:5432