Books19 is a RESTful API that allows users to authenticate, read books, track their reading progress, and manage their bookmarked and starred books.
- ✅ User authentication (login/register)
- 📖 Access and read books
- 📊 Track reading progress
- 🔖 Bookmark books to check later
- ⭐ Star books for quick access
- Node.js / Express.js
- MongoDB
- JWT (JSON Web Tokens) for authentication
- Swagger for API documentation
Books19 uses JWT for authentication. After login or registration, you'll receive a token to include in your headers:
Authorization: Bearer <your-token>books19-api/
├──/src
├── controllers/
├── models/
├── routes/
├── middleware/
├── config/
├── utils/
├── swagger/
├── app.js
└── server.js
Swagger UI is available at: Swagger
https://books19-frontend.vercel.app/
# Clone the repo
git clone https://github.com/repsorp39/books19-api.git
# Navigate into the directory
cd books19-api
# Install dependencies
npm install
# Create a .env file (example below)
cp .env.example .env
# Start the development server
npm run dev