This pull request refactors the book-related routes from the main application file into a dedicated router file. This change aims to improve the modularity and readability of the codebase by separating concerns more clearly.
Summary
Introduced a new router file `book.routes.js` for handling all book-related routes.
Removed book-related route handlers from `app.js` and migrated them to `book.routes.js`.
Added the book router to `app.js` using `app.use(bookRoutes);` to integrate it with the rest of the application.
Ensured that the book routes are protected by authentication by applying the `authenticateToken` middleware in the `book.routes.js` file.
Fixes #74.
π Latest improvements to Sweep:
New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
PR Feedback (click)
Description
This pull request refactors the book-related routes from the main application file into a dedicated router file. This change aims to improve the modularity and readability of the codebase by separating concerns more clearly.
Summary
Fixes #74.
π Latest improvements to Sweep:
π‘ To get Sweep to edit this pull request, you can:
This is an automated message generated by Sweep AI.