A web application built with Spring Boot for users to create, manage, and export their invoices to PDF files.
Invoice Tracker is a Spring Boot web application designed to simplify invoice management for users. It provides functionalities for creating, managing, and exporting invoices to PDF files.
- Simple interface for creating and managing invoices.
- Export invoices to PDF files for easy sharing and record-keeping.
- Multi-user support with two authorities: USER and ADMIN.
- Utilizes MySQL DBMS for efficient data storage.
Follow these steps to set up and run Invoice Tracker locally.
- Java Development Kit (JDK), version 17 or higher
- MySQL Database Server
- Clone the repository:
git clone https://github.com/kalumatic/invoice-tracker.git
cd invoice-tracker- Configure MySQL:
-
Create a database schema named
invoice_tracker. -
Update
application.propertieswith your database configuration:spring.datasource.url=jdbc:mysql://localhost:3306/invoice_tracker spring.datasource.username=username spring.datasource.password=password
- Build and run the application:
./mvnw clean install
./mvnw spring-boot:run-
Access the application at
http://localhost:8080in your web browser. -
Log in using one of the default users:
username password roles kalu progrunners USER, ADMIN srki progrunners USER, ADMIN nikola client USER tara client USER
or create a new user in the database, and for password encryption, use bcrypt
- Create, manage, and export invoices as needed. Admins can also view the list of all users and invoices.
Contributions are welcome! If you'd like to contribute to Invoice Tracker, follow these steps:
- Fork the repository.
- Create a new branch for your feature/fix.
- Make your changes and commit them.
- Push the changes to your fork.
- Submit a pull request.
This project is licensed under the MIT License.
For questions or feedback, please contact maticluka888@gmail.com.