Challenge Overview
Context
Project Context
We are building an internal web application for a client. This application will be divided into frontend and backend.
Challenge Context
The goal of this challenge is to build the presentation API from the tech specifications.
Expected Outcome
Presentation API ready to be integrated with frontend.
Challenge Details
Technology Stack
- NestJs
- Typescript
- NodeJs 12.x
Individual Requirements
- Build the presentation backend REST API from the provided documentation.
- Must use the starter-pack template provided in the forum.
- Mock api is provided in the forum. There is only one mock service but it presents several external systems, there should be one configuration for each system. For example, ENTERPRISE_PREFERENCES_API = http://localhost:3002/enterprise-preferences-api/v1
- All api requests to external systems should be organized in one place. One file per external system. For example, api/enterprise-preferences.js
- Must pass standard lint and NPM audit.
- Create postman collection and env files.
- Unit test is in scope - external systems calls must be mocked.
- API would behave differently based on responses from external systems, please test all cases documented in tech spec.
- 80%+ coverage
Final Submission Guidelines
- Presentation API
- README.md
- Postman collection