Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create validation service - RESTFUL #84

Closed
Tracked by #59
tholulomo opened this issue Jan 24, 2022 · 0 comments · Fixed by #103
Closed
Tracked by #59

Create validation service - RESTFUL #84

tholulomo opened this issue Jan 24, 2022 · 0 comments · Fixed by #103
Assignees
Labels
Roadmap 📍 Priority 4
Milestone

Comments

@tholulomo
Copy link
Contributor

tholulomo commented Jan 24, 2022

Create a middleware validation service (to validate/inspect req headers for authenticated users) for protected routes on the Restful API. This validations service would be used across all future protected routes in the API Service. See https://expressjs.com/en/guide/using-middleware.html for more details on middleware services.

@tholulomo tholulomo mentioned this issue Jan 24, 2022
16 tasks
@tholulomo tholulomo added the Roadmap 📍 Priority 4 label Jan 24, 2022
@tholulomo tholulomo added this to the 1/17 - 1/31 milestone Jan 24, 2022
@tholulomo tholulomo self-assigned this Feb 7, 2022
tholulomo added a commit that referenced this issue Feb 9, 2022
tholulomo added a commit that referenced this issue Feb 9, 2022
tholulomo added a commit that referenced this issue Feb 9, 2022
tholulomo added a commit that referenced this issue Feb 9, 2022
tholulomo added a commit that referenced this issue Feb 9, 2022
tholulomo added a commit that referenced this issue Feb 9, 2022
tholulomo added a commit that referenced this issue Feb 9, 2022
tholulomo added a commit that referenced this issue Feb 9, 2022
tholulomo added a commit that referenced this issue Feb 9, 2022
* #84: Enabled graphql

* #84: Updated schema with user type

* #84: Updated docker with additional environment variable

* #84: Installed test packages, added jwt, and updated the test cmd

* #84: Removed index file from test dir

* #84: Explicitly set REST acceptable headers

* #84: Made env var available globally via req header

* #84: Added jwt

* #84: Linter error fixes

* #84: Moved graphql into its own dir

* #84: Refactored file service into a middleware

* #84: Refactor server.js file to use new middleware services

* #84: Writes test for auth validation middleware

* #84: Added auth validation middleware service

* #84: Updates for CI test

* #84: Updates for CI test

* #84: Updates to environment variable
tholulomo added a commit that referenced this issue Feb 11, 2022
* #85: Updated gitignore file to ignore log files

* #85: Added winston to package.json

* #85: Moved all global middleware services into a single file

* #84: Created a logger middleware service

* #85: Imported all global middleware from globalmiddleware.js

* #85: Linter fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Roadmap 📍 Priority 4
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant