# REST API Python-demo This Documentation Space contains references, setup guides, and API specifications for a minimal **REST API built with Python** using the Flask ecosystem. It is primarily for developers needing to understand the project's structure, how to install and run it, and the details of its API endpoints. The space covers the foundational technology stack, the layout of the files, and the specific implementation details for the core business logic and security. Key documentation sections include: * **Setup Guides**: How to install dependencies and run the application (`Installation`, `Running the Application`). * **Architecture**: The relationship between key files (`Directory Layout`, `Project Overview`). * **Data Models**: Detailed structure and persistence logic for `UserModel`, `BookModel`, and `StoreModel`. * **API Endpoints**: Reference documentation (including request/response examples) for user registration, authentication (`POST /auth`), stores, and books. * **Security**: Configuration specifics related to **Flask-JWT**. By reviewing this content, readers can quickly spin up the API, understand which ORM methods control data access, and learn the exact structure required to interact with its protected and public endpoints. Request any document URL with `Accept: text/markdown` to read it as Markdown. ## Overview - [Technology Stack](https://docs.docuwriter.ai/rest-api-python-demo/overview/technology-stack) - [Project Overview](https://docs.docuwriter.ai/rest-api-python-demo/overview/project-overview) ## Quickstart - [Prerequisites](https://docs.docuwriter.ai/rest-api-python-demo/quickstart/prerequisites) - [Running the Application](https://docs.docuwriter.ai/rest-api-python-demo/quickstart/running-the-application) - [Installation](https://docs.docuwriter.ai/rest-api-python-demo/quickstart/installation) ## Project Structure - [Directory Layout](https://docs.docuwriter.ai/rest-api-python-demo/project-structure/directory-layout) - [Entry Point](https://docs.docuwriter.ai/rest-api-python-demo/project-structure/entry-point) ## Configuration - [Database Configuration](https://docs.docuwriter.ai/rest-api-python-demo/configuration/database-configuration) - [JWT Settings](https://docs.docuwriter.ai/rest-api-python-demo/configuration/jwt-settings) ## Data Models - [BookModel](https://docs.docuwriter.ai/rest-api-python-demo/data-models/bookmodel) - [UserModel](https://docs.docuwriter.ai/rest-api-python-demo/data-models/usermodel) - [StoreModel](https://docs.docuwriter.ai/rest-api-python-demo/data-models/storemodel) ## API Reference - [Authentication Endpoint (`POST /auth`)](https://docs.docuwriter.ai/rest-api-python-demo/api-reference/authentication-endpoint-post-auth) - [User Registration (`POST /register`)](https://docs.docuwriter.ai/rest-api-python-demo/api-reference/user-registration-post-register) - [Store Endpoints](https://docs.docuwriter.ai/rest-api-python-demo/api-reference/store-endpoints) - [Book Endpoints](https://docs.docuwriter.ai/rest-api-python-demo/api-reference/book-endpoints) ## Postman Collection - [Importing the Collection](https://docs.docuwriter.ai/rest-api-python-demo/postman-collection/importing-the-collection) ## Dependencies - [Required Packages](https://docs.docuwriter.ai/rest-api-python-demo/dependencies/required-packages)