Seller is a Point of Sale (POS) and Inventory Management System designed for use at conventions, markets, and other events where individuals set up small stalls to sell their items. The goal is to provide a seamless and efficient way to track sales and gain meaningful insights at the end of the day.
- Sales Tracking: Easily add items to an invoice and post the invoice to automatically reduce stock.
- Inventory Management: Keep track of quantities and manage your inventory effectively.
- Web Application: Accessible from any web browser.
- Future Development: Client applications for desktop (Electron) and Android are coming soon.
Before you begin, ensure you have met the following requirements:
- You have installed Node.js and npm. Follow the official Node.js installation guide to install Node.js.
- You have installed MongoDB. Follow the official MongoDB installation guide to install MongoDB.
-
Clone the repository:
git clone https://github.com/yourusername/seller.git cd seller
-
Install the required dependencies:
npm install
-
Start the MongoDB service:
mongod
-
Start the application:
npm run dev
-
Navigate to
http://localhost:3000
in your web browser.
Alternatively, you can use Docker to set up and run the application.
-
Ensure you have Docker installed. Follow the official Docker installation guide to install Docker.
-
Build and run the Docker container:
docker-compose up --build
-
Navigate to
http://localhost:3001
in your web browser.
In a production environment, set the MONGODB_URI environment variable on your server or hosting provider. For local development, use a .env.local file.
Once the application is running, navigate to the appropriate URL:
- If running directly, go to
http://localhost:3000
. - If running through Docker, go to
http://localhost:3001
.
From the web application, you can:
- Add items to your inventory.
- Create and post invoices.
- Track your sales and inventory levels.
Contributions are welcome! To contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature-name
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/your-feature-name
). - Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
For support or questions, please contact Seyone Gunasingham.