-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathReadme.txt
More file actions
53 lines (29 loc) · 1.82 KB
/
Readme.txt
File metadata and controls
53 lines (29 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Once in the Code folder, carry out the following steps:
The app uses PostgreSQL
After the above is done, Go to the tickets folder in the Code directory and 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 "rails server". This will fire up the app server at port 3000. You can visit http://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
nickfury@shield.com/nickfury
Agent Credentials
tony@starkindustries.com/theironman
thor@asgard.com/thortheking
blackwidow@shield.com/blackwidow
bbanner@culver.edu/biggreenguy
Customer Credentials
pepper@starkindustries.com/pepper123
jfoster@gmail.com/thorlove
pcoulson@shield.com/avengers143
wanko@evil.ru/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.
I have not worked on JS frameworks before, though I tried using EmberJS & Rails API, with authentication using Devise & Ember-Simple-Auth.
I was facing a lot of issues so i abandoned it. I have added the code for them as well in folder named rails_with_ember in the Code Directory.
The Login/Logout/SignUp works on the EmberJS app, but there were issues with getting data from the Backend.
One issue i would like to point out is encouraging use of Latest Version of technologies get you stuck in weird places, which takes up a lot of time!!