Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.49 KB

README.md

File metadata and controls

28 lines (23 loc) · 1.49 KB

Course Manager

Compass Product Flow Compass Services Diagram

About

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.

Installation

  1. Install the necessary package dependencies npm i
  2. Set up a PostgreSQL in your local environment
  3. Set up the environment variables as suggested in the example file
  4. Generate Prisma migrations 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)

Running A Local Development Server

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