This is our first version of BNPL that includes many new features.
- Welcome endpoint.
- User registration endpoint.
- User Login endpoint
- User verify the email address
- User forgot password endpoint.
- User reset password endpoint.
- User logout endpoint.
- User update profile
- User view profile
- Admin Create product
- View all products
- View specific product
- Admin create Product
- Admin view categories
- User add product to wishlist
- User view his/her Wishlist created
- User Delete or remove product from wishlist
- User Can Add and Update Products to cart
- Admin create Supplier
- Admin view all Supplier with their information
- Admin view Specific Supplier Information
- Admin able to delete Supplier
- Admin able to update Supplier
- User add and update product added to cart
- Admin Create, Update and Delete Blog
Verb | Endpoint | Name | Status |
---|---|---|---|
GET | /api/v1/ | Welcome endpoint | OK |
POST | /api/v1/auth/register | Register endpoint | CREATED |
POST | /api/v1/auth/login | LogIn endpoint | OK |
POST | /api/v1/auth/verify-email | Verify email endpoint | OK |
POST | /api/v1/auth/forgot-password | Forgot password endpoint | OK |
POST | /api/v1/auth/reset-password | Reset password endpoint | OK |
POST | /api/v1/auth/logout | User Logout endpoint | OK |
PUT | /api/v1/user/user-update-profile | User Update profile endpoint | OK |
GET | /api/v1/user/user-view-profile | User View Profile endpoint | OK |
POST | /api/product/create-product | Create product endpoint | CREATED |
GET | /api/v1/product/view-all-products | All products endpoint | OK |
GET | /api/v1/product/view-specific-product | Vire specific product | OK |
POST | /api/v1/product/create-category | Admin Create category endpoint | OK |
GET | /api/v1/product/view-categories | View categories endpoint | OK |
POST | /api/v1/wishlist/user-add-product-to-wishlist | user able to add product to his/her wishlist endpoint | OK |
GET | /api/v1/wishlist/view-wishlist | User view his/her Wishlist endpoint | OK |
DELETE | /api/v1/wishlist/delete-product-from-wishlist | User Delete product from wishlist endpoint | OK |
POST | /api/v1/supplier/create-supplier | Admin Create Supplier Endpoint | OK |
GET | /api/v1/supplier/get-all-suppliers | Admin View All Supplier endpoint | OK |
GET | /api/v1/supplier/get-supplier/:id | Admin View Specific Supplier endpoint | OK |
DELETE | /api/v1/supplier/delete-supplier/:id | Admin Delete Supplier endpoint | OK |
PUT | api/v1/supplier/update-supplier/:id | Admin Update Supplier endpoint | OK |
POST | /api/v1/cart/add-Update-product-to-cart | User Add and Update Product added to Cart endpoint | OK |
DELETE | /api/v1/cart/remove-product-from-cart | User Able to Delete Product added to cart endpoint | OK |