A Flask-based REST API for managing personal book collections with user authentication, admin controls, and comprehensive book management features.
-
Clone the repository
git clone https://github.com/yourusername/book-manager-api.git cd book-manager-api -
Create a virtual environment
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies
pip install -r requirements.txt
-
Set up environment variables Create a
.envfile in the root directory:FLASK_SECRET_KEY=your-secret-key-here JWT_SECRET_KEY=your-jwt-secret-key-here
-
Run the application
python run.py