ayush-lab / Coursera-Clone

Coursera clone
GNU General Public License v3.0
79 stars 32 forks source link

Courses content #3

Closed pvntheraxxx closed 2 years ago

pvntheraxxx commented 2 years ago

Hello dear friend Very good job, but I have a problem I don’t think it’s connected, but everything works fine for me except for downloading content. Can you tell me how you can solve the problem? I'm just a beginner курсы

ayush-lab commented 2 years ago

Hello there! thank you first of all. Can you be more specific? do you mean the downloading pdf isnt working or the courses are not being fetchd on the homescreen?

ayush-lab commented 2 years ago

Did you start the backend server?

pvntheraxxx commented 2 years ago

Hello again, it just dawned on me that the course data itself is stored on the server side of the application. Thanks for the answer, now I know the exact reason.

вт, 14 дек. 2021 г. в 16:42, Ayush verma @.***>:

Did you start the backend server?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ayush-lab/Coursera-Clone/issues/3#issuecomment-993555399, or unsubscribe https://github.com/notifications/unsubscribe-auth/AW4ZA6ZCPWN7Z6YCEYV6QDTUQ5CULANCNFSM5KAI4NAA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

pvntheraxxx commented 2 years ago

No:( the terminal shows an error MongooseError: The uri parameter to openUri() must be a string, got "undefined". Make sure the first parameter to mongoose.connect() or mongoose.createConnection() is a string.

ср, 15 дек. 2021 г. в 06:48, PvntheraXXX @.***>:

Hello again, it just dawned on me that the course data itself is stored on the server side of the application. Thanks for the answer, now I know the exact reason.

вт, 14 дек. 2021 г. в 16:42, Ayush verma @.***>:

Did you start the backend server?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ayush-lab/Coursera-Clone/issues/3#issuecomment-993555399, or unsubscribe https://github.com/notifications/unsubscribe-auth/AW4ZA6ZCPWN7Z6YCEYV6QDTUQ5CULANCNFSM5KAI4NAA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

pvntheraxxx commented 2 years ago

the server is running, but the courses themselves are still not displaye GITHUS GITHUS1 d

ayush-lab commented 2 years ago

You have connected the application with the database now right. upload courses and then they will be displayed over the homescreen

pvntheraxxx commented 2 years ago

Good evening, I thought for a very long time why the courses themselves are not loaded, only the registration form works, but not completely. I tied the application to the database and was able to start the server, but when I ran testing, I encountered a number of similar errors.

чт, 16 дек. 2021 г. в 10:44, Ayush verma @.***>:

You have connected the application with the database now right. upload courses and then they will be displayed over the homescreen

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ayush-lab/Coursera-Clone/issues/3#issuecomment-995519093, or unsubscribe https://github.com/notifications/unsubscribe-auth/AW4ZA63KXXVEDAIMIPHCH3DURGKEJANCNFSM5KAI4NAA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

pvntheraxxx commented 2 years ago

результаты тестирования errors

ayush-lab commented 2 years ago

umm, did you change the code a bit? because on the 48th line of homepage.test.js, it is supposed to be .expect(200) and it is not empty.

ayush-lab commented 2 years ago

But I will check it. thanks for letting me know

pvntheraxxx commented 2 years ago

Yes, I changed the code due to the fact that in the new version, according to these documentation Mongoose, the options needed to be removed "seNewUrlParser, useUnifiedTopology, useFindAndModify, and useCreateIndex are no longer supported options. Mongoose 6"

pvntheraxxx commented 2 years ago

I see two options. Download the previous version of Mongoose or find alternatives in the new version. Although maybe I don't understand something....

ayush-lab commented 2 years ago

May be use the website for Mongodb? and use the api key which they provide you in the .env file and it will work

pvntheraxxx commented 2 years ago

I'll try to run it, it's just that those options from your code are not here either. They have been updated. The documentation says that they need to be removed from the code. errors

pvntheraxxx commented 2 years ago

Today I added all API keys to the ENV file (except for SANGRID, because they have some problems with registration on the site (or this is only in my country), there are fewer errors.

errors 11 error 222

ayush-lab commented 2 years ago

Go to Database > Connect > Connect with MongoDb compass > thats your string! Replace the password with your own one!

ayush-lab commented 2 years ago

The routes must have failed because the keys that you added had problem as far as i can judge

pvntheraxxx commented 2 years ago

Very thanks!!!

usamamahmood01 commented 2 years ago

No:( the terminal shows an error MongooseError: The uri parameter to openUri() must be a string, got "undefined". Make sure the first parameter to mongoose.connect() or mongoose.createConnection() is a string. ср, 15 дек. 2021 г. в 06:48, PvntheraXXX @.>: Hello again, it just dawned on me that the course data itself is stored on the server side of the application. Thanks for the answer, now I know the exact reason. вт, 14 дек. 2021 г. в 16:42, Ayush verma @.>: > Did you start the backend server? > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <#3 (comment)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/AW4ZA6ZCPWN7Z6YCEYV6QDTUQ5CULANCNFSM5KAI4NAA > . > Triage notifications on the go with GitHub Mobile for iOS > https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 > or Android > https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. > >

How did solve this issue?