Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backend: Get specific course using id, having multiple lectures in a Course. #40

Closed
1 task done
anand-harsh opened this issue Jan 15, 2024 · 6 comments
Closed
1 task done
Assignees
Labels
assigned issue is assigned to someone backend working on backend feature new feature to be added hard 8 points JWOC JWOC open source program

Comments

@anand-harsh
Copy link
Owner

anand-harsh commented Jan 15, 2024

Issue:

We need to get a specific course using course id which we will render in our courses list

Solution:

  1. Make a component "getCourseLectures " where you will be getting the course from the id for that course by params ( /course/:id )
  2. A course can have multiple lecture in its "lectures" array.
  3. If anyone is opening the video then increase the views by 1

Request : GET
Route: /course/:id
Response: 200

  • JWOC
@anand-harsh anand-harsh added not-assigned issue is not assigned to someone JWOC JWOC open source program hard 8 points feature new feature to be added backend working on backend labels Jan 15, 2024
@anand-harsh anand-harsh added assigned issue is assigned to someone and removed not-assigned issue is not assigned to someone labels Jan 15, 2024
@Anushkabh
Copy link
Contributor

i would like to work under JWOC @anand-harsh

@0xMishra 0xMishra removed their assignment Jan 17, 2024
@Divyanshgarg-04
Copy link
Contributor

@anand-harsh I would love to work on this issue under JWOC'24. Please assign this issue to me

@anand-harsh
Copy link
Owner Author

@Anushkabh you can go with it

@Anushkabh
Copy link
Contributor

@anand-harsh when views should increase by 1 ? like simply accessing the course or while opening lecture?

@anand-harsh
Copy link
Owner Author

@anand-harsh when views should increase by 1 ? like simply accessing the course or while opening lecture?

If views are for course, increase it for course

@Anushkabh
Copy link
Contributor

Anushkabh commented Jan 19, 2024

@anand-harsh okay I have implemented the same.. kindly check the PR #74

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned issue is assigned to someone backend working on backend feature new feature to be added hard 8 points JWOC JWOC open source program
Projects
None yet
Development

No branches or pull requests

4 participants