-
Notifications
You must be signed in to change notification settings - Fork 1
Created schemas and routes in the backend #13
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
base: main
Are you sure you want to change the base?
Conversation
Created and updated api requests. Added nodemon and mongoose. Created and connected it with the mongoDB collections.
Made changes in the markdown file and corrected the backend file paths aswell.
Applied all the PR feedback and changes the mocked data files.
yash0212
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make the requested changes
added axios, multer and formdata. Modified the post requests accordingly.
yash0212
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DallE.router.js, Midjourney.router.js and StableDiffusion.router.js files have duplicate code, please check if the functionality can be extracted to a common function.
| exampleOutput: ImageUrl, | ||
| }); | ||
|
|
||
| console.log(postdata); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Console logs can be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure
| exampleOutput: ImageUrl, | ||
| }); | ||
|
|
||
| console.log(postdata); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Console logs can be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure
| exampleOutput: ImageUrl, | ||
| }); | ||
|
|
||
| console.log(postdata); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Console logs can be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Created and updated api requests. Added nodemon and mongoose. Created and connected it with the mongoDB collections.