Jump to content

Recommended Posts

Oratorian
Posted (edited)

I am writing my own API and could use some honest feedback.

Feature List

  • Web Application Setup:

    Initialization and configuration of the web application.

    Management of user sessions stored on the server.

  • User Authentication:

    Secure access to the application using unique tokens.

    Special handling for a master key that grants higher privileges.

  • Rate Limiting:

    Enforcement of usage limits to prevent abuse.

    Custom checks to ensure users do not exceed their allowed requests per hour and per month.

  • Security and Encryption:

    Use of encryption to securely manage and store all Data.

  • Usage Tracking:

    Monitoring and recording of user activity to enforce rate limits.

    Automatic reset of usage limits on an hourly and monthly basis.

  • Modular API Endpoints: ( Based on Flasks blueprint module )

    Delete Key: Allows Master Key to delete API keys.

    Generate Key: Enables Master Key to generate new API keys.

    Health Check: Simple Server Health Endpoint like CPU, RAM, Disk usage

    Service Restart: Allows the Master Key in combination with the encrypted sudo password for restarting certain services on the Host.

    View Keys: Lets Master Key view existing API keys.

    The project is maintained on Github, I would appreciate any contribution, feedback  to it.

    script-archive/Python/api at main · Oratorian/script-archive (github.com)

Edited by Oratorian
Posted

Thanks for sharing.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...