Trisha-tech / OnlineBookSales

This project named Online Book Sales - Backend deals with developing an e-commerce website for Online Book Sale. It provides the user with a catalog of different books available for purchase in the store. In order to facilitate online purchase, a shopping cart is provided to the user.
https://book4u-j5au.onrender.com/
MIT License
59 stars 84 forks source link

Shop page frontend+backend #170

Closed Sneha0019 closed 3 months ago

Sneha0019 commented 3 months ago

Description

A clear and concise description of what the PR does.

Related Issues

Link any related issues using the format Fixes #issue_number. This helps to automatically close related issues when the PR is merged.

Changes

List the detailed changes made in this PR.

Testing Instructions

Detailed instructions on how to test the changes. Include any setup needed and specific test cases.

  1. Pull this branch.
  2. Run npm install to install dependencies.
  3. Run npm test to execute the test suite.
  4. Verify that ...

Screenshots (if applicable)

Add any screenshots that help explain or visualize the changes.

Additional Context

Any additional context or information that reviewers should be aware of.

Checklist

Make sure to check off all the items before submitting. Mark with [x] if done.

Category Wise division Screenshot 2024-06-13 123616

Screenshot 2024-06-13 123625

Database photo image

github-actions[bot] commented 3 months ago

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

Sneha0019 commented 3 months ago

@Trisha-tech please review the PR!

Trisha-tech commented 3 months ago

@Trisha-tech please review the PR!

Resolve these conflicts screenshot-github com-2024 06 15-13_32_38

Sneha0019 commented 3 months ago

Hello, @Trisha-tech I've solved 2/3 conflicts and one conflict which I am facing in index.js that seems to be related to spacing or formatting, and I'm having trouble understanding its exact nature. Could you please assist me in understanding the conflict and how to resolve it? Your guidance on this matter would be greatly appreciated. Looking forward for your response. Thank you!

Trisha-tech commented 3 months ago

Hello, @Trisha-tech I've solved 2/3 conflicts and one conflict which I am facing in index.js that seems to be related to spacing or formatting, and I'm having trouble understanding its exact nature. Could you please assist me in understanding the conflict and how to resolve it? Your guidance on this matter would be greatly appreciated. Looking forward for your response. Thank you!

Remove double addition of lines such as 'mongoose' screenshot-github com-2024 06 15-17_33_24

One more thing, we are creating website for online books purchase. Replace these images like romance and secrets of life with the much more technical content, biographies, etc.

Sneha0019 commented 3 months ago

Hey, @Trisha-tech I tried my best to resolve error is below but from my side I have pushed correctly in my last commit name "final commit" conflicting code image

Visual Studio code image

Can you please assist me further?

Also about the categories like romance and science etc. It depends on what data you are adding and in productSchema there is one field name categories so whatever you add in that category it will sort and create sections on that basis. The screenshot I attached is based on the data I added in my Database. But if you will add biographies or educational books then you have to add in category the same name which will be then sort and will create different sections on categories which is in database. I edited the photo and now that category will not be shown. Sorry for the incovenience!