A StylePos API designed specifically for clothing retail stores. The API provides a comprehensive solution for managing sales, inventory, and customer information. It offers a user-friendly interface and incorporates features tailored to the unique needs of clothing retailers
- Real-time Sales Data: Retrieve sales transaction data as it happens, providing up-to-the-minute information on items sold, quantities, prices, and total revenue generated.
- Transaction Notifications: Receive instant notifications or webhook callbacks whenever a sales transaction occurs, allowing for immediate updates and triggers in connected applications.
- Integrated Barcode Scanning: Seamlessly integrate with barcode scanners to scan and manage clothing items, improving efficiency at the point of sale and inventory management.
- Performance Metrics: Access key performance metrics, such as total sales, average transaction value, top-selling items, and sales trends, to gain insights into business performance.
- Filter and Search Capabilities: Apply filters and search parameters to retrieve sales data based on specific criteria, such as time range, or product categories.
- Authentication and Security: Implement secure authentication mechanisms, such as API keys or OAuth, to ensure authorized access to the live sales tracking API.
- Scalability and Reliability: Build upon a scalable and reliable infrastructure that can handle high transaction volumes and deliver real-time data with minimal latency.
The following are required to run the Clothing Retail Stores API:
- Ruby 2.7+
- Rails 7.0+
- PostgreSql
- Redis
-
Clone the repo
$ git clone https://github.com/Bright-Phiri/StylePos-API.git $ cd StylePos-API
-
Install dependencies
$ bundle install
-
Create database:
$ bin/rails db:create
-
Run migrations:
$ bin/rails db:migrate
-
Running the API
$ bin/rails server
-
Start the Sidekiq server
$ bin/bundle exec sidekiq
-
Start the Redis server
$ bin/redis-server
- Contributions to the project are welcome! If you find any issues or have suggestions for improvements, please submit a pull request or open an issue in the repository.
- Bright - creator and maintainer