/northstar

:sparkles: The DoSomething.org user & identity service.

Primary LanguagePHPMIT LicenseMIT

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.4 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

You can seed the database with test data:

$ php artisan db:seed

You may run unit tests locally using PHPUnit:

$ phpunit

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.

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.