Skip to content

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

License

Notifications You must be signed in to change notification settings

PickwickSoft/keepalive

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published