API Documentation

RESTful Endpoints

Available API endpoints for your fullstack application

GET /api/users

Retrieve all users

[
  {
    "id": 1,
    "name": "John Doe",
    "email": "john@example.com",
    "createdAt": "2023-07-01T12:00:00Z"
  }
]
GET /api/posts

Retrieve all posts

[
  {
    "id": 1,
    "title": "First Post",
    "content": "This is a sample post content",
    "authorId": 1,
    "createdAt": "2023-07-01T12:00:00Z"
  }
]