# E-commerce API ## Docs - [Create User (Admin)](https://mintlify.wiki/GioTaipe/E-commerce/api/auth/create-user.md): Create a new user with a specific role (admin only) - [Delete User Account](https://mintlify.wiki/GioTaipe/E-commerce/api/auth/delete.md): Delete the authenticated user account - [Login User](https://mintlify.wiki/GioTaipe/E-commerce/api/auth/login.md): Authenticate a user and receive an access token - [Update Profile](https://mintlify.wiki/GioTaipe/E-commerce/api/auth/profile.md): Update the authenticated user profile - [Register User](https://mintlify.wiki/GioTaipe/E-commerce/api/auth/register.md): Register a new user account with customer role - [Authentication](https://mintlify.wiki/GioTaipe/E-commerce/api/authentication.md): JWT-based authentication system with token management - [Add to Cart](https://mintlify.wiki/GioTaipe/E-commerce/api/cart/add.md): Add a product to the authenticated user's shopping cart - [Clear Cart](https://mintlify.wiki/GioTaipe/E-commerce/api/cart/clear.md): Remove all items from the authenticated user's cart - [Get Cart](https://mintlify.wiki/GioTaipe/E-commerce/api/cart/get.md): Retrieve the authenticated user's shopping cart with all items and product details - [Remove Cart Item](https://mintlify.wiki/GioTaipe/E-commerce/api/cart/remove.md): Remove a specific item from the authenticated user's cart - [Update Cart Item](https://mintlify.wiki/GioTaipe/E-commerce/api/cart/update.md): Update the quantity of a specific item in the authenticated user's cart - [Create Category](https://mintlify.wiki/GioTaipe/E-commerce/api/categories/create.md): Create a new product category - [Delete Category](https://mintlify.wiki/GioTaipe/E-commerce/api/categories/delete.md): Delete a category by ID - [List Categories](https://mintlify.wiki/GioTaipe/E-commerce/api/categories/list.md): Retrieve a list of all categories - [Update Category](https://mintlify.wiki/GioTaipe/E-commerce/api/categories/update.md): Update an existing category - [Error Handling](https://mintlify.wiki/GioTaipe/E-commerce/api/errors.md): Understanding API error responses and status codes - [Create Order](https://mintlify.wiki/GioTaipe/E-commerce/api/orders/create.md): Create a new order from the user's cart - [Get Order](https://mintlify.wiki/GioTaipe/E-commerce/api/orders/get.md): Get details of a specific order - [List Orders](https://mintlify.wiki/GioTaipe/E-commerce/api/orders/list.md): Get all orders for the authenticated user - [API Overview](https://mintlify.wiki/GioTaipe/E-commerce/api/overview.md): Introduction to the E-commerce API architecture and common patterns - [Create Product](https://mintlify.wiki/GioTaipe/E-commerce/api/products/create.md): Create a new product (admin only) - [Delete Product](https://mintlify.wiki/GioTaipe/E-commerce/api/products/delete.md): Delete a product from the catalog (admin only) - [Get Product](https://mintlify.wiki/GioTaipe/E-commerce/api/products/get.md): Retrieve details of a specific product by ID - [List Products](https://mintlify.wiki/GioTaipe/E-commerce/api/products/list.md): Retrieve a list of all products in the catalog - [Update Product](https://mintlify.wiki/GioTaipe/E-commerce/api/products/update.md): Update an existing product (admin only) - [System Architecture](https://mintlify.wiki/GioTaipe/E-commerce/concepts/architecture.md): Understanding the E-commerce API architecture, folder structure, and request flow - [Authentication](https://mintlify.wiki/GioTaipe/E-commerce/concepts/authentication.md): JWT-based authentication implementation with secure password hashing and token management - [Authorization](https://mintlify.wiki/GioTaipe/E-commerce/concepts/authorization.md): Role-based access control (RBAC) implementation for customer and admin users - [Database Schema](https://mintlify.wiki/GioTaipe/E-commerce/concepts/database-schema.md): Complete documentation of the Prisma schema including all models, relationships, and indexes - [Database Migrations](https://mintlify.wiki/GioTaipe/E-commerce/guides/database-migrations.md): Manage database schema changes using Prisma Migrate - [Docker Deployment](https://mintlify.wiki/GioTaipe/E-commerce/guides/docker-deployment.md): Deploy the E-commerce API using Docker and Docker Compose - [Environment Setup](https://mintlify.wiki/GioTaipe/E-commerce/guides/environment-setup.md): Configure environment variables and application settings for the E-commerce API - [Image Uploads](https://mintlify.wiki/GioTaipe/E-commerce/guides/image-uploads.md): Implement product image uploads using Cloudinary - [Installation](https://mintlify.wiki/GioTaipe/E-commerce/installation.md): Complete setup guide for the E-commerce API - Development and production environments - [Introduction](https://mintlify.wiki/GioTaipe/E-commerce/introduction.md): Welcome to the E-commerce API - A comprehensive RESTful API for building modern online stores - [Quickstart](https://mintlify.wiki/GioTaipe/E-commerce/quickstart.md): Get started with the E-Commerce API in minutes - [Security Best Practices](https://mintlify.wiki/GioTaipe/E-commerce/security/best-practices.md): Essential security measures and recommendations for the E-commerce API - [Rate Limiting](https://mintlify.wiki/GioTaipe/E-commerce/security/rate-limiting.md): Protect your API from abuse with rate limiting