Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 681 Bytes

README.md

File metadata and controls

36 lines (28 loc) · 681 Bytes

KeepAlive Server

This server helps you to automatically call your application's API, in order to prevent inactivity.

How it works

It is designed to work like that:

sequenceDiagram
    participant Client
    participant Keep alive server
    Client->>Keep alive server: Post request with Base URL
    Keep alive server->>Client: Get request to Base URL
Loading

How to use it

To launch the server, run:

$ uvicorn main:app

To use it with live reload, run:

$ uvicorn main:app --reload

To use it with a custom port, run:

$ uvicorn main:app --port 8000

To use it with all IPs, run:

$ uvicorn main:app --host 0.0.0.0