Skip to content

Conversation

adriach
Copy link
Member

@adriach adriach commented Oct 8, 2026

  • Start Apollo Server on PORT (default 3001) after MongoDB connects
  • Add schema from docs/decisions-and-contracts.md, plus myEntry on Book
  • Add books query with search, genre/year filters, sort and cursor paging
  • Add book, genres and myShelf queries
  • Add setShelved, setRating and setNote mutations with input validation
  • Add ShelfEntry model (one entry per user and book)
  • Read the anonymous user ID from the x-user-id header
  • Document the API in server/API.md and add PORT to .env.example

closes #48

- Start Apollo Server on PORT (default 3001) after MongoDB connects
- Add schema from docs/decisions-and-contracts.md, plus myEntry on Book
- Add books query with search, genre/year filters, sort and cursor paging
- Add book, genres and myShelf queries
- Add setShelved, setRating and setNote mutations with input validation
- Add ShelfEntry model (one entry per user and book)
- Read the anonymous user ID from the x-user-id header
- Document the API in server/API.md and add PORT to .env.example

Refs #48
@adriach adriach requested a review from a team as a code owner October 8, 2026 17:39
@adriach adriach linked an issue Oct 8, 2026 that may be closed by this pull request
Copy link
Member

@ilsea ilsea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job!

@ilsea ilsea merged commit 28c6552 into main Oct 8, 2026
@ilsea ilsea deleted the 48-feat-add-apollo-functionality branch October 16, 2026 20:50
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: Add apollo functionality
2 participants