David's API Playground

User Schema

Model description for the /api/users

- GET

https://davits-api.vercel.app/api/users


  firstname: {
    type: String,
    required: [true, 'Please provide your first name'],
    unique: false
  },
  lastname: {
    type: String,
    required: [true, 'Please provide your last name'],
    unique: false
  },
  email: {
    type: String,
    required: [true, 'Please provide your email address'],
    unique: true
  },
  password: {
    type: String,
    required: [true, 'Please provide your password'],
    unique: false
  }