Skip to content

gRPC for my blog site "ITish"

Notifications You must be signed in to change notification settings

Gubchik123/ITish-gRPC

Repository files navigation

Header image

gRPC for my blog site ITish

Purpose

My blog site ITish (GitHub) was written using templates, but in our time there are not a lot of projects that use templates. That's why here is gRPC of the "ITish"

Project modules

grpcio grpcio-health-checking grpcio-reflection grpcio-tools bcrypt passlib python-dotenv python-jose SQLAlchemy

Look at the requirements.txt

Environment Variables

To run this project, you will need to add the following environment variables:

DATABASE_URL JWT_SECRET_KEY JWT_REFRESH_SECRET_KEY

Look at the file_env_example.txt

Getting Started

To get started with the project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/Gubchik123/ITish-gRPC.git
    
  2. Go to the project directory:

    cd ITish-gRPC
    
  3. Install the required dependencies:

    pip install -r requirements.txt
    
  4. Run the gRPC servers:

    python blog_grpc_server.py
    python auth_grpc_server.py
    python user_grpc_server.py
    

    Note: Don't forget about environment variables