This is a Books List API that allows users to manage their book collection. The backend is built with Koa.js, and the frontend is a React application.
- Backend: Located at the root (
/), runs withnode index.js. - Frontend: Located in
/react-app/, runs withnpm start. - API Documentation: JSDoc-generated documentation available at
/docs/jsdoc/. - OpenAPI Spec: Available in YAML and JSON formats at
/docs/yamland/docs/json.
- Clone the repository:
git clone <repository-url> cd <repository-folder>
- Install backend dependencies:
npm install
- Install frontend dependencies:
cd react-app npm install
node app.jscd react-app
npm start- Install testing dependencies (if not already installed):
npm install --save-dev jest supertest
- Run tests:
npm test -- __tests__/userRoutes.js --detectOpenHandles
- Books API: Manage books (add, update, delete, list, search).
- User Book List: Users can add books to their personal collection.
- Reviews API: Users can review books.
- JSDoc API Docs:
https://radiusironic-historyharlem-3000.codio-box.uk/docs/jsdoc - OpenAPI YAML:
https://radiusironic-historyharlem-3000.codio-box.uk/docs/yaml - OpenAPI JSON:
https://radiusironic-historyharlem-3000.codio-box.uk/docs/json