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

Added feature Cart and fixed major bugs in backend #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Prasadpoojary
Copy link

Hi Team,

I have added one more feature to add book/product to cart, remove cart item and list cart item of particular customer. You can find the endpoints below.

ONE MORE IMPORTANT thing I should tell you, I have seen few classes were not there in repository but it was accessed in this repo, it was throwing Compile time error ( classNotFound ). I have fixed everything as of now. Please make sure you verify everything before you merge. As of now everything works fine. Its happy to contribute over springboot project.
Below classes were missing in current repo, I have added below classes to fix the compile time error.

backend/src/main/java/com/company/demo/security/CustomUserDetails.java backend/src/main/java/com/company/demo/security/JwtRequest.java backend/src/main/java/com/company/demo/security/JwtResponse.java backend/src/main/java/com/company/demo/exceptionhandler/ErrorResponse.java

Add to Cart >>
POST : http://127.0.0.1:8888/api/cart/add

list cart items >>
GET : http://127.0.0.1:8888/api/cart/all/BWCUST17601

Remove cart item >>
GET : http://127.0.0.1:8888/api/cart/remove/BWCART17601

Thanks,
Prasad, Coder

@Prasadpoojary
Copy link
Author

Hi Arpan,

Please check and merge PR

Thanks,
Prasad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant