$ git clone --depth=1 https://github.com/shubham0204/blogpost-backend
Deploy the backend with Docker Compose or locally
$ cd blogpost-backend
$ docker compose up
$ pip install -r requirements.txt
$ python main.py
- HTTP Header Caching with Redis
- JWT authentication on (most) endpoints
- Add indexes for faster retrieval of blogs
- Databases use UUIDs as primary keys, instead of consecutive integers to avoid incremental access of entities if a table is compromised in an attack
- All random UUIDs are generated with cryptographically safe
RNGs i.e. with
os.urandom
- Rate limiters are installed to each endpoint to prevent brute-force and DDoS attacks
- Docker Compose based deployment
- Descriptive logs for FastAPI endpoints
- Host FastAPI docs on GitHub Pages
- Export Postman collection
- Simulate backend with Postman Runs