This is the Hasura assignemnt documentation for the Django & Hasura based eCommerce project using mongodb and postgresdb. You can interact with the various API endpoints, view details about products, categories, and perform actions like adding to the cart, placing orders, etc.
For detailed information on the available endpoints, request/response formats, and examples, please refer to the Postman API Documentation.
This collection includes:
- Product Management: Add, update, delete, and retrieve products.
- Category Management: Manage product categories.
- Cart Operations: Add items to the cart, remove items, and view cart contents.
- Order Placement: Place orders with product details and payment info.
Here are additional resources that are important for understanding the full scope of the project:
-
Hasura Django GraphQL Integration
Overview of how Hasura GraphQL Schemas used in the project. -
MongoDB Schema
Detailed explanation of the MongoDB schema used in the project. -
Django Restified: API Endpoints
Detailed breakdown of the Django REST API endpoints created from the hasura graphql endpoint. -
Deployment Instructions
A guide for setting up the project and running it with Docker Compose. -
Hasura meta date file
Exported hasura meta data file. -
Postman collection file
Postman collection file. -
Private key
private key used to sign tokens ( used in Django ). -
Public key
Public key used to verify tokens ( used in hasura ).