Logo Lanfrica

buskitech/naija-pos

Domain:

socioeconomic

Record type:

softwaretools
Creator:
bus
Host:
NaijaPOS is a secure, offline-first Point of Sale (POS) system built for Nigerian local businesses, designed to work reliably even with unstable internet. # πŸ‡³πŸ‡¬ NaijaPOS - Local Point of Sale System A secure, offline-first POS system designed for Nigerian local businesses. Built with modern web technologies and Firebase backend. ✨ Features - **πŸ” Role-Based Access Control**: Separate Admin and Staff dashboards - **πŸ“¦ Inventory Management**: Add, edit, delete products with stock tracking - **πŸ’° Sales Terminal**: Quick product search and sales recording - **πŸ“Š Sales History**: View sales by date with staff filtering - **πŸ“„ PDF Reports**: Generate daily sales reports - **πŸŒ™ Dark/Light Mode**: Easy on the eyes - **πŸ“± Responsive Design**: Works on all devices - **⚑ Offline-First**: Built as a PWA for unreliable connections πŸ›‘οΈ Security Features - βœ… Firebase Authentication (Email/Password) - βœ… Firestore Security Rules (Role-based access) - βœ… XSS Protection (HTML sanitization) - βœ… Input Validation (Server-side rules + client-side) - βœ… Rate Limiting (Checkout abuse prevention) - βœ… Pre-commit Security Checks (Automated scanning) - βœ… Audit trail (Sales cannot be edited/deleted) πŸš€ Quick Start ### Prerequisites - A Firebase account (console.firebase.google.com) - A modern web browser - Basic text editor ### Setup Instructions 1. **Clone the repository** ```bash git clone github.com cd naija-pos ``` 2. **Create Firebase Project** - Go to Firebase Console - Create a new project - Enable **Authentication** (Email/Password provider) - Enable **Cloud Firestore** - Enable **Firebase Storage** (optional, for product images) 3. **Configure Firebase Credentials** πŸ” ```bash # Copy the environment template cp js/env.example.js js/env.js # Edit js/env.js with your Firebase credentials # Get these from: Firebase Console β†’ Project Settings β†’ Your Apps ``` **Important**: The `js/env.js` file contains your actual credentials and is gitignored. See ENV_SETUP.md for detailed setup instructions. 4. **Deploy Security Rules** ```bash # Install Firebase CLI npm install -g firebase-tools # Login and initialize …

Licenses