The Universal Rewards System is a comprehensive platform designed to streamline and enhance the management and distribution of rewards. This system aims to provide a seamless experience for both sellers and customers by integrating various reward mechanisms into a single, unified interface. By leveraging advanced technology, the Universal Rewards System offers a scalable and efficient solution to boost customer engagement and loyalty.
We offer two distinct login options: one for customers and one for sellers. Below, we demonstrate logging in using a customer email, which grants access to the dashboard.
Users can also create a new account by signing up.
After logging in as a customer, users are redirected to the home page where they can view their total points in URT and recent transactions. The home page provides a clear overview of the rewards status, including the ability to:
- Transfer Points: Convert your points to URT points, which can be used across various platforms and services.
- Redeem Points: Convert your URT points back to points for use within specific reward programs.
At the top, users can see their points in URT and the equivalent in different businesses such as Amazon points or Flipkart points. Points can be redeemed across various businesses.
The Smart Conversion section allows users to convert points dynamically.
The transfer page enables users to import points from businesses into the Universal Rewards System.
Sellers can also log in and access their seller dashboard.
Instructions on how to install and run the project.
- To install the APK, click the following link:
-
To host the backend server, simply use
ts-nodeto run the Express App. You need to edit the .env file according to .env.example. -
We also need an SQL server with tables created according to the following database schematics:
-
Also note that backend URL is set in api_service.dart. You may need to modify this and run
flutter build apk
| Field | Type | Null | Key | Default | Extra |
|---|---|---|---|---|---|
| company_id | int | NO | PRI | NULL | auto_increment |
| points_earned | decimal(10,2) | YES | 0.00 | ||
| monthly_sales | decimal(15,2) | YES | NULL | ||
| reward_token_value | decimal(10,2) | YES | NULL | ||
| scaling_constant | decimal(10,2) | YES | NULL | ||
| created_at | timestamp | YES | CURRENT_TIMESTAMP | DEFAULT_GENERATED | |
| updated_at | timestamp | YES | CURRENT_TIMESTAMP | DEFAULT_GENERATED on update CURRENT_TIMESTAMP | |
| image_path | varchar(255) | YES | NULL | ||
| company_type | varchar(255) | YES | NULL | ||
| name | varchar(255) | NO | NULL |
| Field | Type | Null | Key | Default | Extra |
|---|---|---|---|---|---|
| uid | char(36) | NO | PRI | uuid() | DEFAULT_GENERATED |
| points | decimal(10,2) | YES | 0.00 | ||
| last_transaction_date | datetime | YES | NULL | ||
| last_20_transactions | json | YES | NULL | ||
| created_at | timestamp | YES | CURRENT_TIMESTAMP | DEFAULT_GENERATED | |
| updated_at | timestamp | YES | CURRENT_TIMESTAMP | DEFAULT_GENERATED on update CURRENT_TIMESTAMP | |
| varchar(255) | NO | UNI | NULL | ||
| display_name | varchar(255) | NO | NULL |
| Column Name | Data Type | Nullable | Key Type | Default | Extra Information | Description |
|---|---|---|---|---|---|---|
| company_id | int | NO | PRIMARY KEY | NULL | auto_increment | Unique identifier for each company. |
| name | varchar(255) | NO | UNIQUE | NULL | Name of the company (must be unique). | |
| pool | json | NO | None | NULL | Stores JSON data related to the company. |








