Overview • Features • Installation • Usage • License
This repository contains a sample project for a blog and user management system using the FastAPI framework. The project features user authentication with token-based authorization and utilizes an SQLite database for data persistence.
- Blog Management: Create and read blog posts.
- Token-based Authentication: Secure access control using JWT tokens.
- SQLite Database: Utilized for efficient storage and retrieval of blog posts.
To set up the project environment, follow these instructions:
- Clone the repository
git clone https://github.com/SmartMaatt/fast-api-blog.git
-
Navigate to the project directory.
-
Create python virtual environment.
-
Install dependencies
pip install -r requirements.txt
To run the FastAPI server, execute:
uvicorn main:app --reload
The API will be available at http://127.0.0.1:8000.
For more detailed API documentation, visit http://127.0.0.1:8000/docs after starting the server.
This project is licensed under the MIT License - see the LICENSE file for details.