Skip to content

PatrickTCB/super-simple-python-apiserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Super Simple Python API Server

This is a simple python api server. It's meant to be expanded upon with program logic, security features and whatever else your project will need.

When I have need a simple api, I always start with this as my template.

Just update the build.sh and run.sh scripts with your docker container registry and you're ready to start testing.

server.py

The program lives at app/server.py and right now there's not too much program logic in it. Just the basics where json is returned properly as UTF-8 text.

The functions for parsing and using parameters are here, but they don't do anything right now beyond just list the parameters received.

The goal here is to be expandable, you start with what's here and by adding a few functions you can have a super basic website that words reliably well.

About

Like my super-simple-python-webserver this is the template I start with for all my self hosted/LAN APIs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published