The DoSomething.org user & identity service.
Clone or download
Latest commit b4d1015 Nov 8, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Set max-age on cached user profiles. Nov 2, 2018
bootstrap Applied fixes from StyleCI Nov 17, 2015
config Hardcode unchanging Fastly api url Oct 17, 2018
database removes migration Sep 28, 2018
documentation Merge pull request #790 from DoSomething/update-token-docs Sep 10, 2018
public Change comment format. Aug 23, 2018
resources Use environment-badge package. Nov 8, 2018
routes adds write scope middleware to all create/update/delete endpoints Mar 28, 2018
storage Updates to allow keys to be stored locally or elsewhere May 31, 2018
tests fixes test Oct 1, 2018
.editorconfig Use PSR-2 indentation and code style. May 12, 2015
.env.example Hardcode unchanging Fastly api url Oct 17, 2018
.gitattributes Upgrade to Laravel 5. May 12, 2015
.gitignore Add cache directory to gitignore. Jun 14, 2018
CODEOWNERS updates codeowners and removes dd from test Feb 27, 2018
Capfile Adding newline Dec 15, 2014
Gemfile Adding bundle install step and installing capistrano Dec 15, 2014
LICENSE Update copyright year. Nov 3, 2017
PULL_REQUEST_TEMPLATE.md Don't need to tag reviewers here anymore Mar 15, 2018
Procfile Adding a queue worker for Northstar Jun 13, 2018
README.md Updating API doc URI. Apr 26, 2018
artisan Use PSR-2 indentation and code style. May 12, 2015
composer.json Install barryvdh/laravel-cors and update dependencies. Sep 14, 2018
composer.lock Update dependencies. Nov 8, 2018
modernizr.json Create Modernizr script so it doesn't 404. Nov 22, 2016
nginx.conf Disable nginx access logs. Aug 16, 2018
package-lock.json Update dependencies. Nov 8, 2018
package.json Use environment-badge package. Nov 8, 2018
phpunit.xml Turn off sixpack for testing and always check if it's on May 29, 2018
server.php Applied fixes from StyleCI Nov 17, 2015
webpack.config.js Update dependencies. Jul 19, 2018
wercker.yml Use updated Wercker box with PHP 7.2. Sep 14, 2018

README.md

Northstar wercker status StyleCI

This is Northstar, the DoSomething.org user & identity service. It's our single "source of truth" for member information. Northstar is built using Laravel 5.5, OAuth 2.0 Server, and MongoDB.

Getting Started

Check out the API Documentation to start using Northstar!

Contributing

Fork and clone this repository, and add it to your Homestead.

# Install dependencies:
$ composer install && npm install

# Configure application & run migrations:
$ php artisan northstar:setup

# And finally, build the frontend assets:
$ npm run build

We follow Laravel's code style and automatically lint all pull requests with StyleCI. Be sure to configure EditorConfig to ensure you have proper indentation settings.

Testing

Performance & debug information is available at /__clockwork, or using the Chrome Extension.

You can seed the database with test data:

$ php artisan db:seed

You may run unit tests locally using PHPUnit:

$ phpunit

Consider writing a test case when adding or changing a feature. Most steps you would take when manually testing your code can be automated, which makes it easier for yourself & others to review your code and ensures we don't accidentally break something later on!

Security Vulnerabilities

We take security very seriously. Any vulnerabilities in Northstar should be reported to security@dosomething.org, and will be promptly addressed. Thank you for taking the time to responsibly disclose any issues you find.

License

©2017 DoSomething.org. Northstar is free software, and may be redistributed under the terms specified in the LICENSE file. The name and logo for DoSomething.org are trademarks of Do Something, Inc and may not be used without permission.