Description:
Implement a new API endpoint to create the book. Users should be able to create a new book and start working with new ideas. Make sure that the book is created with a draft status, which means that only the user can see the book.
Acceptance Criteria (AC):
[x] Endpoint exists for creating the book (e.g., POST /api/v1/books).
[x] User creates the book with draft status.
[x] The book is empty (has no chapters, but has metadata about who created the book and when).
Description: Implement a new API endpoint to create the book. Users should be able to create a new book and start working with new ideas. Make sure that the book is created with a draft status, which means that only the user can see the book.
Acceptance Criteria (AC):
POST /api/v1/books
).Definition of Done (DoD):