rk app

byRitesh K

Act as a Senior Full Stack Software Architect, UI/UX Designer, Java Spring Boot Expert, React.js Expert, MySQL Database Architect and POS Billing System Developer. Build a Production-Ready, Enterprise-Level POS Billing & Inventory Management Web Application for a cosmetic and general store named: PRABHAS SALES The application must look premium like Tally Prime, Marg ERP, Zoho Inventory, or Shopify POS. Technology Stack: - React.js + Vite - Spring Boot - Spring Security - JWT Authentication - MySQL - JPA/Hibernate - REST API - PDF Invoice Generation - Responsive Design - Professional Dashboard ==================================== LOGIN ==================================== Admin Login Secure Authentication Forgot Password ==================================== DASHBOARD ==================================== Show: Today's Sales Weekly Sales Monthly Sales Yearly Sales Total Products Low Stock Alert Out of Stock Alert Today's Profit Total Profit Recent Bills Top Selling Products Sales Graph Profit Graph ==================================== PRODUCT MANAGEMENT ==================================== Admin can: Add Product Edit Product Delete Product Search Product Upload Product Image Category Barcode MRP Selling Price Purchase Price GST Stock Quantity Minimum Stock Alert Expiry Date Supplier Name ==================================== BILLING ==================================== Billing Screen should work like a real POS. Search Product Barcode Scan Support Select Product Quantity Discount GST Auto Total Auto Payment Method: Cash UPI Card Generate Invoice Print Invoice Download PDF After bill generation: Reduce stock automatically Save bill permanently ==================================== INVOICE ==================================== Professional Invoice Store Name: PRABHAS SALES Store Address Phone Number GST Number Invoice Number Date & Time Customer Name (Optional) Product Name Quantity Rate GST Total Grand Total Payment Method QR Code ==================================== REPORTS ==================================== Daily Report Weekly Report Monthly Report Yearly Report Profit Report Expense Report Top Selling Products Sales by Category Export PDF Export Excel Print Reports ==================================== STOCK MANAGEMENT ==================================== Live Stock Low Stock Out of Stock Expiry Products Near Expiry Alert Purchase History Stock Adjustment ==================================== CUSTOMER MANAGEMENT ==================================== Customer Name Phone Purchase History Outstanding Balance ==================================== SUPPLIER MANAGEMENT ==================================== Supplier Details Purchase Bills Payments Pending Amount ==================================== SETTINGS ==================================== Store Logo Store Name Address Phone GST Invoice Design Dark Mode Light Mode Backup Database Restore Database ==================================== UI DESIGN ==================================== Premium Dashboard Glassmorphism Modern Cards Animations Professional Charts Dark Theme Light Theme Mobile Responsive Desktop Responsive Tablet Responsive ==================================== DATABASE ==================================== Design normalized MySQL database. Create all tables with relationships. ==================================== BONUS FEATURES ==================================== Barcode Generator Barcode Scanner QR Payment Auto Backup Invoice History Search Bills Edit Bills Return Bills Refund Management Profit Calculator GST Calculator Stock Alerts Dashboard Notifications ==================================== QUALITY ==================================== Write production-ready clean code. No dummy code. No placeholder. No missing functionality. No bugs. Everything must be fully working. Follow enterprise coding standards. Generate complete frontend, backend, database, APIs, and folder structure. can you crrate this ans yes or no only

Login
Login

Comments (0)

No comments yet. Be the first!

System Requirements

System Requirement Document

rk app

Introduction

The rk app is a Production-Ready, Enterprise-Level POS Billing & Inventory Management Web Application designed for a cosmetic and general store named PRABHAS SALES. The application aims to provide a premium user experience similar to Tally Prime, Marg ERP, Zoho Inventory, or Shopify POS.

System Overview

The rk app is built using a robust technology stack that includes React.js with Vite for the frontend, Spring Boot for the backend, and MySQL for the database. It incorporates features such as JWT Authentication, PDF Invoice Generation, and a responsive design to ensure a seamless user experience across devices. The application is designed to manage sales, inventory, billing, and reporting efficiently.

Functional Requirements as Story Points

Page 1 of 5
  • As an Admin, I should be able to securely log in to the system.
  • As an Admin, I should be able to reset my password if forgotten.
  • As an Admin, I should be able to view sales data for today, weekly, monthly, and yearly on the dashboard.
  • As an Admin, I should be able to see alerts for low stock and out-of-stock products.
  • As an Admin, I should be able to manage products by adding, editing, deleting, and searching for products.
  • As an Admin, I should be able to upload product images and manage product details like category, barcode, MRP, selling price, purchase price, GST, stock quantity, minimum stock alert, expiry date, and supplier name.
  • As a Cashier, I should be able to perform billing operations similar to a real POS, including searching products, barcode scanning, selecting products, applying discounts, and calculating totals automatically.
  • As a Cashier, I should be able to generate, print, and download invoices in PDF format.
  • As an Admin, I should be able to view and export various reports such as daily, weekly, monthly, yearly, profit, expense, and sales by category.
  • As an Admin, I should be able to manage stock, including viewing live stock, low stock, out-of-stock, expiry products, and making stock adjustments.
  • As an Admin, I should be able to manage customer information, including purchase history and outstanding balance.
  • As an Admin, I should be able to manage supplier details, purchase bills, payments, and pending amounts.
  • As an Admin, I should be able to configure store settings, including store logo, name, address, phone, GST, invoice design, and theme preferences.
  • As an Admin, I should be able to perform database backup and restore operations.
  • As an Admin, I should be able to use bonus features like barcode generation, QR payment, auto backup, invoice history, and more.
Page 2 of 5

User Personas

  • Admin: Responsible for managing the entire system, including product management, billing, reporting, stock management, customer and supplier management, and system settings.
  • Cashier: Handles the billing process, including product selection, invoice generation, and payment processing.

Core User Flows

  • Admin logs in -> views dashboard -> manages products -> generates reports -> adjusts stock -> configures settings
  • Cashier logs in -> searches product -> scans barcode -> processes payment -> generates invoice -> updates stock

Visuals Colors and Theme

  • primary: #1A73E8 (a deep blue for brand identity)
  • primary_light: #E8F0FE (a light blue for hover states)
  • secondary: #FF6F61 (a coral hue for emphasis)
  • accent: #FFD700 (a vibrant gold for CTAs and active states)
  • highlight: #FFA500 (an orange for notifications)
  • bg: #FFFFFF (a clean white background)
  • surface: rgba(255, 255, 255, 0.8) (a translucent white for cards)
  • text: #202124 (a dark gray for primary text)
  • text_muted: #5F6368 (a softer gray for secondary text)
  • border: rgba(0, 0, 0, 0.1) (a subtle gray for borders)
Page 3 of 5

Signature Design Concept

The rk app will feature a "Glassmorphism Dashboard" where the interface elements appear as frosted glass panels floating over a dynamic background. The panels will have smooth animations and transitions, creating a premium feel. Users can interact with the panels to reveal detailed information, and the background will subtly change based on the time of day, providing a fresh look every time. This concept will be implemented using framer-motion for animations and gsap for scroll-triggered effects.

Interaction Model & Motion Direction

The landing page will use a "parallax" interaction model, creating a layered depth effect as users scroll through the page. Decorative elements will move at different speeds, enhancing the storytelling aspect of the application. Internal pages like the dashboard will use an "animated" model with moderate scroll-triggered reveals and hover transitions to maintain a polished user experience.

Non-Functional Requirements

  • The application must be responsive and work seamlessly on mobile, tablet, and desktop devices.
  • The system should ensure secure authentication and data protection.
  • The application should be scalable to handle increased loads and data volumes.
  • The system should provide high availability and reliability.
Page 4 of 5

Tech Stack

  • Frontend: React.js + Vite
  • Backend: Spring Boot, Spring Security
  • Database: MySQL with JPA/Hibernate
  • Authentication: JWT
  • API: REST
  • PDF Generation: Integrated for invoice creation

Assumptions and Constraints

  • The application will be used by PRABHAS SALES for managing their store operations.
  • The system must integrate with existing hardware like barcode scanners and printers.
  • The application should comply with local tax regulations and GST calculations.

Glossary

  • POS: Point of Sale
  • GST: Goods and Services Tax
  • JWT: JSON Web Token
  • CRUD: Create, Read, Update, Delete
  • UI/UX: User Interface/User Experience

This document outlines the comprehensive system requirements for the rk app, ensuring a robust and premium solution for PRABHAS SALES.

Page 5 of 5
Login design preview
Login: Sign In
Login: Forgot Password
Dashboard: View Sales Overview
Dashboard: View Stock Alerts
Products: Add Product
Products: Manage Products
Stock: View Live Stock
Stock: Adjust Stock
Reports: View Sales Reports
Reports: Export Reports
Customers: Manage Customers
Suppliers: Manage Suppliers
Settings: Configure Store
Login design preview
Login: Sign In
Login: Forgot Password
Dashboard: View Sales Overview
Dashboard: View Stock Alerts
Products: Add Product
Products: Manage Products
Stock: View Live Stock
Stock: Adjust Stock
Reports: View Sales Reports
Reports: Export Reports
Customers: Manage Customers
Suppliers: Manage Suppliers
Settings: Configure Store