Skip to content

mkmahmud/Cow-hut-backend

Repository files navigation

🐄 Online Cow Selling Backend for Eid Ul Adha 🐪

🚩 Table of Contents

Server

Technologies

  • TypeScript TypeScript
  • Express Express
  • Mongoose Mongoose

Features

  1. User Registration and Authentication:
  • Users can register on the platform by providing their basic information, such as name, phone number, and address.
  • User authentication is implemented to ensure secure access to the platform's features.
  • User roles are defined as "seller" and "buyer" to differentiate between those who sell cows and those who intend to buy.
  1. Cow Listing Management:
  • Sellers can create listings for cows they want to sell.
  • Each cow listing includes details such as name, age, breed, category (e.g., dairy, beef), price, and location.
  • Sellers can update the details of their cow listings, such as price and availability status (for sale or sold out).
  • Cow listings are displayed on the platform, allowing potential buyers to view available cows.
  1. Cow Search and Filtering:
  • Buyers can search for cows based on various criteria, including breed, category, and price range.
  • The platform provides a search interface that allows buyers to find cows that match their preferences.
  • Filtering options are available to refine search results based on specific attributes.
  1. User Budget and Income Tracking:
  • Buyers have the option to set a budget for their cow purchase.
  • The platform keeps track of the buyer's budget, ensuring that they stay within their allocated amount.
  • Sellers can track their income from selling cows through the platform.
  1. Error Handling and Security:
  • Proper error handling mechanisms are implemented to ensure smooth operation and provide helpful error messages to users when issues occur.
  1. API Documentation:
  • Detailed documentation is provided for the backend APIs, including the available routes, request/response formats, and error handling.

Project Routes

User

Cow

Cow Pagination

Orders

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published