A chatbot for ordering food with secure payment processing via Paystack.
chatbot/
├── backend/ # Express.js server with Paystack integration
│ ├── index.js # Main server file
│ ├── .env # Environment variables
│ └── README.md # Backend setup instructions
├── frontend/ # HTML/CSS/JS files for chatbot interface
│ ├── index.html
│ ├── script.js
│ └── style.css
└── .kiro/ # Design and requirements specs
└── specs/
└── paystack-payment-integration/
- Navigate to the
backenddirectory - Install dependencies:
npm install - Set up environment variables (see backend README)
- Start the server:
npm run dev
The frontend is served automatically by the backend server.
- Start the backend server
- Open your browser and navigate to
http://localhost:3001 - Interact with the chatbot to place orders and make payments
The system integrates with Paystack for secure payment processing:
- Customers can place orders via the chatbot
- Payment is processed securely through Paystack
- Order history is maintained per session
- Email receipts are sent to customers
For complete setup instructions, see the README in the backend directory.