A full-stack billing and inventory management system built with Java Spring Boot (backend) and React.js (frontend).
- User authentication and authorization (JWT, role-based)
- Product and category management (CRUD)
- Order processing and shopping cart
- Payment integration with Razorpay
- AWS S3 file uploads for product images
- Dashboard analytics and reporting
- Invoice generation and receipt printing
- Responsive UI with React.js
- Backend: Java 17+, Spring Boot, Spring Security, MySQL, JWT, Maven
- Frontend: React.js, Vite, Axios, CSS
- Other: Razorpay API, AWS S3, RESTful APIs
git clone https://github.com/YOUR-USERNAME/YOUR-REPO.git
cd SoftwareBilling- Navigate to the backend directory:
cd Billing-Software/billingsoftware - Configure your database and third-party credentials in
src/main/resources/application.properties:spring.datasource.url=jdbc:mysql://localhost:3306/billing_app spring.datasource.username=YOUR_DB_USER spring.datasource.password=YOUR_DB_PASSWORD razorpay.key_id=YOUR_RAZORPAY_KEY_ID razorpay.key_secret=YOUR_RAZORPAY_KEY_SECRET aws.accessKey=YOUR_AWS_ACCESS_KEY aws.secretKey=YOUR_AWS_SECRET_KEY aws.region=YOUR_AWS_REGION aws.s3.bucket=YOUR_BUCKET_NAME
- Import the database schema:
- Import
Billing-Software/billing_app.sqlinto your MySQL database.
- Import
- Run the backend server:
./mvnw spring-boot:run # or on Windows mvnw.cmd spring-boot:run- The backend will run on http://localhost:8081 (or as configured).
- Open a new terminal and navigate to the frontend directory:
cd Billing-Software/client - Install dependencies:
npm install
- Start the React development server:
npm run dev
- The frontend will run on http://localhost:5173 or http://localhost:5174.
- Ensure the frontend API base URL matches your backend port (e.g.,
http://localhost:8081). - Update CORS settings in the backend if you change frontend port.
- Register or log in as a user or admin.
- Manage products, categories, and users (admin only).
- Add items to cart, place orders, and process payments.
- View dashboard analytics and order history.
MIT