Skip to content

The "Digital Cow Hut" project offers a cutting-edge platform for streamlined cow management and transactions in the livestock industry. With real-time updates, secure profiles, and customizable filters, users can effortlessly buy, sell, and manage cow data.

Notifications You must be signed in to change notification settings

mithulix/Digital-cow-hut-backend-Auth

Repository files navigation

WELCOME TO DIGITAL-COW-HUT-WITH-AUTH PROJECT.

Application Routes:

Sample Login User [POST] :

{
  "phoneNumber": "01792878278",
  "password": "@mithu123"
}

sample json for creating a new seller :

{
  "phoneNumber": "01792878278",
  "password": "@mithu123",
  "seller": {
    "name": {
      "firstName": "Mohaiminul",
      "lastName": "Islam"
    },
    "phoneNumber": "+6555345",
    "address": "singapore",
    "income": 1600000
  }
}

get a seller:

{
  "phoneNumber": "01055698544",
  "password": "rakib435"
}

sample json for creating a new Buyer :

{
  "phoneNumber": "01055698544",
  "password": "rakib435",
  "buyer": {
    "name": {
      "firstName": "Rakib",
      "lastName": "Islam"
    },
    "address": "Gulshan",
    "budget": 150000
  }
}

Sample create Admin [POST]

{
  "password": "Jim445",
  "role": "admin",
  "name": {
    "firstName": "Jannatul ",
    "lastName": "Ferdous"
  },
  "phoneNumber": "0178999454",
  "address": "Nilphamari, Domar"
}

Sample Login ADMIN [POST]

{
  "phoneNumber": "0178999454",
  "password": "Jim445"
}

Sample Cow Data for create a cow : [POST]

{
  "name": "kalachan",
  "age": 3,
  "price": 162000,
  "location": "khulna",
  "breed": "Sahiwal",
  "weight": 300,
  "label": "for sale",
  "category": "Beef",
  "seller": "64f300f37c4212f756b3d261"
}

About

The "Digital Cow Hut" project offers a cutting-edge platform for streamlined cow management and transactions in the livestock industry. With real-time updates, secure profiles, and customizable filters, users can effortlessly buy, sell, and manage cow data.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published