Register
Submit a solution
The challenge is finished.

Challenge Overview

Welcome to “Poseidon LPC Payment Backend API Unit and E2E Tests Challenge”.  In this challenge, we would like to continue building the LPC Payment Backend API.

 

PROJECT BACKGROUND

The project objective is to build an SDK for the Loyalty Payment Card (LPC) for our client. This SDK will be used by LPC’s clients to build the LPC mobile app.

 

So the SDK will provide all required functionalities from authentication to payment processing, reward management, etc. 

 

FRAMEWORK

  • Node.js 12+

  • NestJS

  • Sequelize

  • Postgresql 10+

  • SOAP (WSDL)
     

REQUIREMENTS

  • Update the existing unit tests to avoid making calls to the database and instead use mock calls.

  • Add E2E tests to all endpoints. Should cover success and failure cases (400, 401, 404, etc)

    • E2E tests should use the mock database call as well.

  • The LPC payment application during the tests should not connect to a real database or any other system. The only allowed dependency is the mock SOAP api.

  • Minimum of 95% coverage is required.



Final Submission Guidelines

  • Update source code

ELIGIBLE EVENTS:

2020 Topcoder(R) Open

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30112293