codeforcauseorg / edu-server

MIT License
43 stars 51 forks source link

Add some extra fields in course schema, edited tests, created search query by name for course #111

Closed Devesh21700Kumar closed 3 years ago

Devesh21700Kumar commented 3 years ago

Description

Add some extra field in course schema along with documentation and tests correction in controllers and services

Updated swagger doc accordingly

Added separate endpoints for cards of Course in Home Page

Added search query for getting course info by name with regex and lean for fast quering of data (The search functionality)

Type of Change:

How Has This Been Tested?

Terminal commands to test code:- 1). npm run lint 2). npm run lint:fix 3). nest start 4). npm run test

Checklist

Abhishek-kumar09 commented 3 years ago

Have tried out testing your changes after making changes?

Devesh21700Kumar commented 3 years ago

Have tried out testing your changes after making changes?

yes 1). postman test for changes 2). swagger change for examples 3). npm run test for test changes