The Point of Sale (POS) System is a comprehensive software solution designed to streamline and manage the sales process for businesses of all sizes. This system allows for efficient sales transactions, inventory management, and customer engagement.
The system utilizes the following tables:
- Discount: Manage store-wide or item-specific discounts.
- Customer: Store customer details and purchase history.
- DiscountItems: Keep track of which items are associated with specific discounts.
- Order: Record each order transaction, including date and associated customer.
- OrderItems: Store the items and quantities associated with each order.
- Product: Maintain product information, such as name, price, and stock level.
- Payment: Track payment information for each order, including payment method and amount.
- Category: Organize products into main categories for easier management.
- Subcategory: Further classify products within categories for more granular organization.
- Clone the repository to your local machine.
- Navigate to the project directory and install the required dependencies with
npm install
. - Set up your database by running the provided SQL script to create the necessary tables.
- Update the database connection details in the config file with your own credentials.
- Run the server using
npm start
. The application will be accessible at http://localhost:PORT, where PORT is the port number specified in your configuration.
Enjoy your new Point of Sale (POS) System!
npm i express nodemon npm i mysql npm i util npm i sequelize npm i mysql2