Giter Site home page Giter Site logo

zendus / fastapi-blog-api Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 36 KB

A fully functional blog API built using FastAPI framework with features like vote post (like, unlike), comment on a post, upload image along with post (Cloudinary), etc.

Python 94.27% HTML 5.73%

fastapi-blog-api's Introduction

FastAPI-blog-api

A blog API built using FastAPI framework with features like vote post (like, unlike), comment on a post, upload image along with post (Cloudinary), etc.

How to Install

  1. Clone the project in your local computer.

  2. Create a virtualenv file.

  3. Terminal/CLI command: pip install --upgrade pip to update your pip version.

  4. Install all dependencies with pip install -r requirements.txt

  5. Run uvicorn app.main:app to start the server.

Main Dependencies

FastAPI for api server
Uvicorn - lightweight ASGI server
Pydantic to create schemas (comes with FastAPI by default)
Swagger UI for API documentation (embedded in FastAPI by default)
Redocs - alternative API documentation (embedded in FastAPI by default)
SQLAlchemy - database orm for interacting with SQL database
Bcrypt - for password hashing
ItsDangerous - for generating jwt tokens used for user authentication
Fastapi-Mail - for sending verification mail to new user
Cloudinary - for post image upload
Psycopg2 - for postgreSQL database integration

Documentation

Click here to view swagger documentation

fastapi-blog-api's People

Contributors

zendus avatar

Stargazers

BIO avatar Baktybek Toktobekov  avatar  avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.