Sprint 07 API and JWT
Sprint 07 API and JWT
Pick or create user stories that make use of an api delivering JSON data. Build in one form of api authentication/authorisation (API Token or JWT) Unit 6 - “Building an API”.
Sprint 07 in the Module-Handbook example application:
https://github.com/htw-imi-wtat1/module-handbook/releases/tag/Sprint_07
Sprint 07 - Testing
- Testing APIs with Jest and Superagent is straightforward.
- Testing Routes that need authentication
- See the documentation in the Example app: https://github.com/htw-imi-wtat1/module-handbook/blob/master/doc/authentication_authorization.md