Rewarding customers
Rewrams is a social media reward system for customers. The application connects to a business entity database and automates the creation plus distribution of coupons in accordance to a set of rules customizable in rewrams web application. Rewrams automates the response to customers with a coupon anytime customers share and tag the business entity account.
In simple words, anytime a customer uploads a story in Instagram and tags a business account, the customer receives a coupon, a coupon with a percentage already establised in Rewrams application.
As of now, the application is fully functional with instagram stories but a coupon can be awarded to posts, hashtags, or commentaries as well, if needed by the customer. The application dynamics can also be applied to other social media platforms as well.
Here is a quick representation of how it works:
- Customer shares story.
- Customer receives a dicount code.
- Customer pays with the discount rewarded.
- Customer's friend gets interested in codeworks.
- Customer's friend signs up to codeworks.
- Home signed out
- Sign in
- Home dashboard
- Campaign settings
- Reply automation
Facebook and instagram ads are expensive. The minimum budget is around $5 dls per day to reach and average audience of 500 at the most,not considereing the type of reach out. If you do a conversion type of ad and you track the conversion with a pixel, on average, if succesful, you get a conversion after a week or so when the pixel is maturing and facebook is optimizing the audience to reach. This could translate to $35 dls per week for 1 conversion per week, then you can scale up and so. This may not seem as much but it totals a $155 dls per month, for around 1 possible conversion considering a targeted niche generic product (e.g. $50 bluetooth speaker). Fb in collaboration with instagram takes time to understand and optimize the targeting of your audience. Considering you test a certain type of ad (e.g. click type), and a certain type of audience (e.g. young adults age 18-25 with interests in music and have liked spotify,etc.), each test can cost the said amount mentioned, $155/month. The marketing cost can easily increase without having many results (e.g. $155dls/month for each of the 4 to 5 tests = -$620 for selling 1 to 3 $50 speakers).
You can reach the same outcome by using your clients social media. When you have a sale, the client is the target audience and as the group he engages is likely to be similar to him in terms of demographics and interests, therefore we can conclude his social media group is to some extent your target audience as well. Allowing him to share his experience is allowing you to advertise to the target audience you need, similar to facebook figuring out what target audience to advertise. The difference is you can determine the price and you are also giving the benefit to the client.
- To test how the app works, you can upload an ig story and tag @testingcauseeffect. You will receive a coupon which you can use at https://causeffct.com
- Here is how the app looks for a client that signs up and uses the service, he can update his campaign settings in the front-end https://rewrams-client.herokuapp.com/
- Video: https://www.youtube.com/watch?v=eCE9CJVE7T0&feature=youtu.be
- To run the project you will need Git, Node, mongodb, mongoose, and npm installed.
- The instagram reply automatization is run in a separate folder which I have not uploaded. Reach me out if you would like to implement this feature.
- Clone the repository.
- Run
npm installin the client root folder. - Run
npm startin your client root folder. - Run
brew services start mongodb-communityfor mac users, for windows and other users check documentation - Run
npm installin the coupons-server root folder. - Run
nodemon index.jsin the coupons-server folder. - Run
npm installin the users-server folder. - Run
npm run serverin the users-server folder.
Create a .env file in the users-server folder with the following variables:
Db
- MONGO_URI_DEV=
- MONGO_URI_PROD=
- GOOGLE_CLIENT_ID=
- GOOGLE_CLIENT_SECRET=
- GOOGLE_CALLBACK_URL=
- FACEBOOK_APP_ID=
- FACEBOOK_SECRET=
- FACEBOOK_CALLBACK_URL=
JWT
- JWT_SECRET_DEV=
- JWT_SECRET_PROD=
Site urls
- CLIENT_URL_DEV=
- CLIENT_URL_PROD=
- SERVER_URL_DEV=
- SERVER_URL_PROD=
Img folder path
- IMAGES_FOLDER_PATH=/public/images/
- MongoDb - Application databases.
- Mongoose - Object document modeling (ODM) layer that sits on top of the Node.Js, and MongoDB API.
- Express - Framework layered on top of NodeJS, used to build the backend.
- React - Front end library for building user interfaces.
- Node.js - JavaScript runtime environment.
- Material UI - A design system for enterprise-level products.










