DAF Backend API
Complete backend solution for e-commerce and Point of Sale systems with PostgreSQL database integration
Quick start
Get up and running with DAF Backend in minutes
Configure environment variables
.env file in the root directory with your database credentials:Start the development server
http://localhost:3000Explore by topic
Choose your integration path
POS System
E-Commerce Platform
Authentication
Database Architecture
Key features
Everything you need for modern commerce systems
Dual-System Architecture
Separate POS and E-commerce systems sharing a unified backend infrastructure
JWT Authentication
Secure authentication with database credentials embedded in JWT tokens
Inventory Management
Complete kardex tracking for products and raw materials with movement history
Image Upload Support
Built-in image handling with Multer and Sharp for product photos
Payment Processing
E-commerce payment integration with shopping cart management
Invoice Generation
Complete invoicing system with transaction tracking and PDF generation
API Reference
Comprehensive documentation for all endpoints
Ready to get started?
Follow our quickstart guide to set up your development environment and make your first API call
Start Building