https://github.com/faun/new_relic
NewRelic coding challenge
https://github.com/faun/new_relic
Last synced: 9 months ago
JSON representation
NewRelic coding challenge
- Host: GitHub
- URL: https://github.com/faun/new_relic
- Owner: faun
- Created: 2016-07-07T16:24:04.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-08T01:54:51.000Z (almost 10 years ago)
- Last Synced: 2025-02-05T14:15:09.496Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# New Relic
### Events
For each host within an organization, events should be storable and retrievable. Events consist of:
- timestamp
- payload
- host_id
- organization_id
Events can come from multiple organizations and an organization can have multiple hosts.
### Application Prerequisites:
* Ruby 2.3.0
* PostgreSQL
### Setup:
```
bundle install
bundle exec rake db:migrate
```
How to run the test suite:
```
bundle exec rspec
```