Skip to content

alexandreh92/cashback-money

Repository files navigation

lemoney

Cashback Money

GitHub top language Coverage Status Code Climate technical debt Repository size GitHub

Hi, this is the lemoney Ruby on Rails challenge app. This app should list some Offers to Users and redirects them to advertisor's site.

This project is a monolith with a RoRs API in backend and ReactJS in frontend.


Demo on Heroku


Prerequisites

Have the following features with their respective versions installed on the machine:

  • Node 12.x+ - You can use NVM
  • Ruby 2.6.6 - You can use RVM
  • PostgreSQL 12
  • Bundler 1.17.3

Setup the project

After you get all the prerequisites, simply execute the following commands in sequence:

1. Install the dependencies above
2. $ git clone  # Clone the project
3. $ cd cashback-money # Go into the project folder
4. $ gem install bundler # Bundler install
5. $ bundle install # Install ruby dependencies
7. $ yarn install # Install JS dependencies
8. $ rake db:create # Creates db
9. $ rake db:migrate # Migrates db
10. $ rake db:seed # Seed db
11. $ rake start # Bootstraps monolith
12. $ rspec spec # Run the specs to see if everything is working fine

Feature improvements for next releases

  • Add websockets/frontend loader state/blank states
  • Add webhook to Advertisors can send an Order to cashback users

Thanks for the opportunity, this was made with ♥ by alexandreh92 👋  Get in touch!

About

Lemoney interview test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages