Compass Product Flow Compass Services Diagram
This repository is a part of the Compass Marketplace where consumers and purchase courses and upskill their competencies and third party course providers and onboard and add their courses. It handles the backend server dealing with the use cases of the course providers and partially the admin. Particularly, the entire provider flow on the marketplace which would include adding and updating courses and admin use cases of verifying the providers and courses and settling provider wallet balances. The tech stack used is NestJS with Prisma ORM and PostgreSQL.
The Course managermodule is dependent on the modules Marketplace portal and Marketplace Wallet Service.
npm i
npx prisma migrate dev
If seed data is required, it can be populated by running
npx prisma db seed
or
npx prisma migrate reset
(The latter will also reset the database and delete all previous data)An auto compiled running server can then be initialized using,
npm run start:dev
The Swagger API documentation could be found at YOUR_APP_PORT/api/docs