AssetGuard is an early warning system that utilizes Spring and Angular to monitor and alert users when their assets reach a specified threshold. This project utilizes various REST APIs, Spring Security, and PostgreSQL to allow users to monitor their assets through various graphs.
- Backend: Java and Spring Boot
- Frontend: Angular
- Database: PostgreSQL
-
Clone the repository:
git clone https://github.com/your-username/BugTrackerX.git cd BugTrackerX
-
Navigate to the backend directory or open in preferred IDE:
cd backend
-
Configure your PostgreSQL database settings in application.properties:
spring.datasource.url=jdbc:postgresql://localhost:5432/assetMonitoring spring.datasource.username=postgres spring.datasource.password=postgres spring.datasource.driver-class-name=org.postgresql.Driver spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect spring.jpa.show-sql=true spring.jpa.properties.hibernate.format_sql=true spring.jpa.hibernate.ddl-auto=update spring.mail.host = smtp.gmail.com spring.mail.port = 587 spring.mail.username=your_email spring.mail.password=your_email_password spring.mail.properties.mail.smtp.auth=true spring.mail.properties.mail.smtp.starttls.enable=true
-
Create a database in pgAdming of name
assetMonitoring
. -
Build and run the Spring Boot backend.
-
Navigate to the frontend directory or open in preferred IDE:
cd frontend
-
Install dependencies:
npm install
-
Start the Angular development server:
ng serve
- Backend: http://localhost:8080
- Frontend: http://localhost:4200