npm run prebuild
npm run dev
- Method: POST
- Endpoint: /auth/register
- Description: Register a new user.
- Method: POST
- Endpoint: /auth/login
- Description: Authenticate and login a user.
- Method: GET
- Endpoint: /auth/session
- Description: Check the session period for auto login.
- Method: GET
- Endpoint: /auth/log_out
- Description: Log out and end the user's session.
- Method: GET
- Endpoint: /buyer/get_sellers
- Description: Retrieve a list of sellers.
- Method: GET
- Endpoint: /buyer/get_catalog?seller_id=_id
- Description: Get the catalog of items of a particular seller.
- Method: GET
- Endpoint: /buyer/get_orders
- Description: Retrieve the buyer's order history.
- Method: POST
- Endpoint: /buyer/post_orders
- Description: Place a new order.
- Method: GET
- Endpoint: /seller/get_orders
- Description: Retrieve the seller's received orders.
- Method: POST
- Endpoint: /seller/post_items
- Description: Add new items to the seller's catalog.