Skip to content

Increase Items and Add New Columns to Existing Routes #211

Open
@matheussatoshi

Description

Objective:

We want to add new columns to the existing routes and increase the number of items in the /users and /posts routes to provide more detailed and comprehensive data for developers.

Proposed Improvements to Routes:

  • /users: Increase the number of users from 10 to 300.
  • /posts: Increase the number of posts from 100 to 500.

New Models for Routes:

  1. users model (with new columns):
   [
       {
           "id": "string",
           "fullName": "string",
           "age": "number",
           "birthdate": "string",
           "phone": "string",
           "bio": "string",
           "roles": ["string"],
           "verified": "boolean",
           "nationality": "string",
           "address": {
               "street": "string",
               "city": "string",
               "state": "string",
               "country": "string",
               "zipCode": "string"
           },
           "contact": {
               "personal": {
                   "phone": "string",
                   "phone2": "string",
                   "email": "string"
               },
               "social": {
                   "twitter": "string",
                   "linkedin": "string",
                   "github": "string"
               }
           }
       }
   ]
  1. posts model: (with new columns):
[
    {
        "id": "string",
        "title": "string",
        "imageUrl": "string",
        "author": "string",
        "description": "string",
        "publishedAt": "string",
        "createdAt": "string",
        "tags": ["string"],
        "updatedAt": "string",
        "engagement": {
            "likes": "number",
            "views": "number",
            "comments": [
                {
                    "id": "string",
                    "avatarUrl": "string",
                    "author": "string",
                    "description": "string",
                    "likes": "number"
                }
            ]
        }
    }
]
  1. todos model: (with new columns):
[
    {
        "id": "string",
        "title": "string",
        "done": "boolean",
        "author": "string",
        "updatedAt": "string",
        "createdAt": "string",
        "publishedAt": "string",
        "description": "string"
    }
]
  1. photos model: (with new columns):
[
    {
        "id": "string",
        "author": "string",
        "url": "string",
        "thumbnailUrl": "string",
        "createdAt": "string",
        "publishedAt": "string",
        "description": "string",
        "likes": "number"
    }
]
  1. comments model:
[
    {
        "id": "string",
        "author": "string",
        "content": "string",
        "publishedAt": "string",
        "engagement": {
            "likes": "number",
            "views": "number",
            "comments": [
                {
                    "id": "string",
                    "avatarUrl": "string",
                    "author": "string",
                    "description": "string",
                    "likes": "number"
                }
            ]
        }
    }
]

Other Proposed Changes:

  • Translate all Latin content to English to ensure the data is understandable to developers worldwide.

Justification: These changes will make JSON Placeholder even more useful for testing and simulating data, especially in larger projects that require more data and complexity in structures.

Reference:

  • Increase items in /users from 10 to 300.
  • Increase items in /posts from 100 to 500.
  • Add new fields and structures like address, roles, contact, etc.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions