{"id":19311099,"url":"https://github.com/boxuk/staff","last_synced_at":"2026-07-04T07:30:15.897Z","repository":{"id":8733555,"uuid":"10408265","full_name":"boxuk/staff","owner":"boxuk","description":"Staff database for BoxUK that allows new starters and existing employees to learn more about their coworkers and quickly find contact information.","archived":false,"fork":false,"pushed_at":"2013-09-02T20:48:15.000Z","size":316,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":48,"default_branch":"master","last_synced_at":"2025-01-06T02:20:17.777Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/boxuk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-31T16:01:49.000Z","updated_at":"2013-10-24T11:14:51.000Z","dependencies_parsed_at":"2022-08-30T04:41:23.966Z","dependency_job_id":null,"html_url":"https://github.com/boxuk/staff","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxuk%2Fstaff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxuk%2Fstaff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxuk%2Fstaff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxuk%2Fstaff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boxuk","download_url":"https://codeload.github.com/boxuk/staff/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240415216,"owners_count":19797599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T00:27:46.664Z","updated_at":"2026-07-04T07:30:15.853Z","avatar_url":"https://github.com/boxuk.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Staff\n\nAn online staff directory for Box UK employees inspired by this blog post from Etsy.\n\nhttp://codeascraft.com/2013/05/31/culture-hacking-with-a-staff-database/\n\nThis is part of a mobile app built by maxehmookau at\n\nhttps://github.com/maxehmookau/staff-ios\n\nThere are so many new starters in Box UK it gets hard to keep track of new hires. It's also nice for new starters in a company to be able to get more information about who is who to prevent the awkward not knowing who to ask type situations.\n\n![](https://raw.github.com/owainlewis/staff/master/public/images/preview.png)\n\nStaff allows people to look up email addresses, find out information about what people are into, see who works where and quickly find the right person to answer their questions.\n\n## Running the app\n\nStaff is a Play2 application. You will need Scala, Postgres and SBT installed.\n\nTo get started \n\n+ download the most recent version of Play2\n+ git clone git@github.com:boxuk/staff.git\n+ cd staff\n\nCreate the postgres db\n\n+ createdb staff\n\nRun the application\n\n+ play run\n\n## Deploying the app\n\nThis application is built to run on Heroku easily. To deploy an instance to heroku run\n\n\n```\nheroku create --remote production\ngit push heroku production\n\n# Check the logs if you have any issues\nheroku logs\n\n# Connect to the console\nheroku run sbt play\n```\n\n## API\n\n### Employees\n\nGet all employees\n\n```\nGET /api/employees\n```\n\nGet a single employee by ID\n\n```\nGET /api/employees/:id\n```\n\nGet all employees with a given role (i.e all designers, developers etc)\n\n```\ncurl -X GET -i http://localhost:9000/api/employees/roles/1\n```\n\n### Search\n\nYou can search for employees by first and last name\n\n```\ncurl -X GET -i http://localhost:9000/api/search?q=jack\n```\n\n## Deployment\n\nStaff is deployed and running on Heroku using Postgres\n\n```\ngit push heroku master\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboxuk%2Fstaff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboxuk%2Fstaff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboxuk%2Fstaff/lists"}