Need an authentication mechanism for our app to gain permission to access user and repo information
Proposed Changes:
Added github authentication (with a link for now)
Displays a welcome message when user is authenticated
Added react-router and Home page
Issue Number(s): Closes #7
Screenshots:
Initial State
Authenticated
How Has This Been Tested?
Added unit test for /authenticate API route with no code input
Added render test for welcome message and login button
Visually confirmed that welcome message changed with authenticated user's login (see screenshots) - unable to mock authentication state to add unit tests :(
Pull request type
Please check the type of change your PR introduces:
- [ ] Bugfix
- [x] Feature
- [ ] Code style update (formatting, renaming)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] Documentation content changes
- [ ] Other (please describe):
## Checklist
Please check if your PR fulfills the following requirements:
- [x] All new and existing tests passed
- [x] Tests for the changes have been added
- [x] Docs have been reviewed and added / updated if needed
- [x] My code follows the code style of this project and lint has passed locally
Description
Current Behavior:
Proposed Changes:
Issue Number(s): Closes #7
Screenshots:
Initial State
Authenticated
How Has This Been Tested?
Pull request type
Please check the type of change your PR introduces: - [ ] Bugfix - [x] Feature - [ ] Code style update (formatting, renaming) - [ ] Refactoring (no functional changes, no api changes) - [ ] Build related changes - [ ] Documentation content changes - [ ] Other (please describe): ## Checklist Please check if your PR fulfills the following requirements: - [x] All new and existing tests passed - [x] Tests for the changes have been added - [x] Docs have been reviewed and added / updated if needed - [x] My code follows the code style of this project and lint has passed locally