fluffy-mantine-pos is a web-based Point of Sale (POS) application built using Next.js and Mantine. Designed for a sleek and intuitive user experience, Fluffy Web POS helps businesses manage sales, customers, and inventory all from the convenience of the web.
- π» Web-Based POS: Seamless management of sales from any browser.
- π Inventory & Sales Tracking: Efficiently track stock and sales.
- π¦ Modular Components: Built with Mantine's powerful and flexible component library.
- π Dark Mode Support: Integrated dark mode with Storybook for component development.
- π Infinite Scrolling: Easily browse through large data sets with infinite scroll.
- Next.js: Framework for React with server-side rendering and static site generation.
- Mantine: Component library for React with fully responsive and customizable UI elements.
- Apollo Client: For managing GraphQL data and queries.
- Firebase: Backend service for real-time data synchronization and authentication.
Follow these steps to get the Fluffy Web POS app up and running.
git clone https://github.com/yourusername/fluffy-web-pos.git
cd fluffy-web-pos
Install all the project dependencies using:
npm install
To start the development server, run:
npm run dev
The app will be available at http://localhost:3000
.
To build the app for production:
npm run build
Make sure all tests are passing:
npm run test
To configure your environment variables, create a .env.local
file in the root directory:
NEXT_PUBLIC_API_URL=https://api.example.com
FIREBASE_API_KEY=your-firebase-api-key
βββ components # Reusable UI components
βββ pages # Next.js page routes
βββ styles # Global and component-specific styles
βββ hooks # Custom React hooks
βββ lib # Utilities and API calls
- Development:
npm run dev
β Start the development server. - Build:
npm run build
β Build the app for production. - Start:
npm run start
β Start the production server. - Lint:
npm run lint
β Check for code quality issues. - Test:
npm run test
β Run all test cases. - Storybook:
npm run storybook
β Launch Storybook to visualize components.
Fluffy Web POS is integrated with Storybook for UI development. You can launch Storybook using:
npm run storybook
Storybook provides a live preview of your components and supports dark mode.
This project is licensed under the MIT License.