Challenge Overview
Welcome to “Poseidon LPC Payment API Microservice Split". 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
- The requirements is to split the lpc-payment-backend-api service into 3 microservices:
- Loyalty microservice (all services related to loyalty)
- folder lpc-loyalty-service
- endpoints should start with /loyalty path
- Card microservice (all services related to card)
- folder lpc-card-service
- endpoints should start with /card path
- Customer microservice (all services related to customer)
- folder lpc-customer-service
- endpoints should start with /customer path
- Common code should be moved to a common library
- folder lpc-common-library
- Unit test and E2E test coverage should be kept for all services and common library
Final Submission Guidelines
- Updated source code
- Deployment guide to start all services