Mark Miranda, Kami Boers, Thom Pickett
This project was created as a part of the curriculum for the Turing School of Software & Design.
This Rails application took a previous project that had a single store and pivoted it to have a platform that has many users, who can each have many loan requests or offers. These then can be turned into a contract by another user.
You can find a live version of this application on Heroku at: https://thrive-lending.herokuapp.com/
To set up a local copy of this project, perform the following:
- Clone the repository:
git clone https://github.com/thompickett/thrive-lending.git cdinto the project's directory- Run
bundle install - Run
rake db:create db:migrate db:seedto set up the postgres database and seed it with users, loan_offers, loan_requests, and contracts. - If you would like to create your own database information do not rundb:seed- If you do seed, it you will be provided with an admin with a username: josh and password: password - If you do seed, it you will be provided with a regular user with a username: josh and password: password - Run the application in the dev environment by running
rails s
Some of the main features of the app include:
Users can:
- create loan requests
- create loan offers
- edit loan requests
- edit loan offers
- delete their own loan request
- delete their own loan offers
- view other users loan requests
- view other users loan offers
- turn other users loans into contracts through a submission form
Admin can:
- do everything a user can
- delete any user
- delete any users loan offers
- delete any users loan requests
- delete any users contracts
This application depends on many ruby gems, all of which are found in the Gemfile and can be installed by running bundle install from the terminal in the main directory of the project.