This is the home page content. Welcome to our website!
here is brief summary of this project
Technologies Used: Node.js,express.js,mongodb
Features:
- For authentication, I have used JSON Web Token (jsonwebtoken).
- It has an email feature: On successful orders, the user will be sent an email including the order details.
- it has wishlist feature, user can add products to wishlist
- it has Cart feature, user can add products to Cart
User and Auth
-
to register the api endpoint is "/api/user/register"
-
to login the api endpoint is "/api/user/login"
-
to update the api endpoint is "/api/user/update"
-
to own profile the api endpoint is "/api/user/my-profile"
-
to add product to wishlist the api endpoint is "/api/user//add-to-wishlist/:id"
-
to fetch wishlist the api endpoint is "/api/user/get-wishlist-products"
-
to delete address the api endpoint is "/api/user/delete-address/:id"
Products
-
to add products the api endpoint is "/api/products/post-product"
-
to get all products the api endpoint is "/api/products/get-all-products"
-
to get-a-product the api endpoint is "/api/products/get-a-product/:id"
Brands
-
to get all brands the api endpoint is "/api/brands/get-all-brands"
Categories
-
to get all Categories the api endpoint is "/api/category/get-all-categories"
Cart
-
to get all Categories the api endpoint is "/api/cart/add-to-cart"
-
to get all Categories the api endpoint is "/api/cart/get-all-cart"
-
to get all Categories the api endpoint is "/api/cart/delete-cart-item/:id"
-
to get all Categories the api endpoint is "/api/cart/update-cart-item/:id"
Orders
-
to get all orders the api endpoint is "/api/orders/get-my-orders"
-
to get single order the api endpoint is "/api/orders/get-my-order/:id"