This project is a FastAPI-based API that allows users to manage and interact with a collection of rants. It provides endpoints for creating new rants, retrieving all rants, and fetching a single rant by its ID. The project utilizes Pydantic for data validation and serialization.
- Create new rants with unique IDs
- Retrieve all existing rants
- Fetch a single rant by its ID
- Secure endpoints using PyJWT and Pydantic for data validation
- Clone the repository
- Install the required dependencies using
pip install -r requirements.txt
- Run the project with
uvicorn main:app --reload
- app/api.py: Contains the FastAPI endpoints for rants management
- app/model.py: Defines the data models using Pydantic
- app/auth/auth_handler.py: Manages JWT token signing and decoding
- FastAPI
- Pydantic
- PyJWT
- uvicorn
- decouple
- None at the moment
- Fork the repository
- Create a new branch for your feature or bug fix
- Make your changes and submit a pull request