##Setup
The app uses PostgreSQL.
Clone the repo and go to the project folder.
Once in the Code folder, carry out the following steps:
-
Do a
bundle install
. This will install all the Gems needed by the app. -
Run
bundle exec rake db:create db:migrate db:seed
. This would create the development and the test databases, run migrations, and add seed data. -
Run
bundle exec rails server
. This will fire up the app server at port3000
. You can visithttp://localhost:3000
on you browser and you should see the app homepage.
These are all the accounts available you can log in using. Displayed as username/password:
###Admin Credentials
[email protected]/nickfury
###Agent Credentials
[email protected]/theironman
[email protected]/thortheking
[email protected]/blackwidow
[email protected]/biggreenguy
###Customer Credentials
[email protected]/pepper123
[email protected]/thorlove
[email protected]/avengers143
[email protected]/killtony
There is no provision to add an Agent/Admin via the app frontend. You will have to create new Admins/Agents via the console.
You can run the Rspec tests using:
bundle exec rspec spec
You can run Cucumber features using:
bundle exec rake cucumber
The code is a Ruby on Rails Frontend and Backend app.
####Demo URL https://cust-care.herokuapp.com