Master Modern Web Dev with the Store API: A Free Dynamic Sandbox
Building a full-stack e-commerce site is a major milestone for any developer. However, setting up a backend, managing databases, and handling complex state often distracts from learning frontend skills.
We created the Store API to bridge this gap. Unlike static mock APIs, this is a fully functional, dynamic REST API. It allows you to practice real-world integration—from JWT authentication and dynamic product filtering to managing persistent shopping carts and order flows.
Why Use the Store API?
- Dynamic Data: Your changes persist. Add an item to a cart or update a profile, and the data stays there for your session.
- Real-World Logic: Practice handling unique email validations, password confirmations, and protected admin routes.
- Portfolio Ready: Building a React, Vue, or Next.js app on top of this API demonstrates your ability to handle complex asynchronous state and API interactions.
Official Store API Documentation
1. Getting Started
- Base URL:
https://www.iamtiksha.com/apis/store/public/api/v1/ - Postman Collection: Access the Full Collection Here
- Authentication: Most protected routes require an
Authorization: Bearer {token}header.
2. Authentication
POST /register: Create a new user account. Requiresname,email,phone_number, andpassword.POST /login: Authenticate usingemailorphone_numberto receive your access token.POST /verify-token: Verify if your current Bearer token is still active.
3. Products & Categories
GET /products: Fetch all products. Supports searching (?search=), category filtering (?category_id=), and sorting by price, stock, or popularity (?sort=view_count).GET /categories: Retrieve all categories along with their nested sub-categories.- Admin Access: Authorized admins can manage the catalog using
POST,PUT, andDELETEon product and category routes.
4. Cart & Wishlist
GET /carts: Retrieve the user’s current shopping cart.POST /carts/increment/{cart_id}&POST /carts/decrement/{cart_id}: Specific endpoints to increment or decrement item quantities by one.GET /wishlists: View saved items, or check if an item is already saved via/wishlist-exists/{productId}.
5. User Profiles
GET /profile: Retrieve authenticated user details.POST /profile: Update profile data including address fields and upload a customavatarfile.
6. Orders
POST /orders: Submit a new order.- Supported Methods: While you can select
cod(Cash on Delivery) orstripefor logic practice, this API does not process actual payments. It is designed to help you practice the application flow of creating and retrieving orders.
Happy Coding! Start building your next e-commerce masterpiece today.
