ServerSeekerV2 API written in Python using FastAPI
A PostgreSQL database in the ServerSeekerV2 schema that allows connections from the API.
Python 3.12+
Clone the ServerSeekerV2 API Git repository
git clone https://github.com/Funtimes909/ServerSeekerV2-PyAPI
The ServerSeekerV2 API depends on PostgreSQL and several Python libraries. These need to be installed to run the ServerSeekerV2 API.
python -m venv env
./env/bin/pip install -r ./requirements
Debian (and derivatives):
sudo apt install postgresql
Arch (and derivatives):
sudo pacman -S postgresql
Ubuntu/Debian:
sudo apt-get install git
Arch:
sudo pacman -S git
The Dev Server allows for local, and only local access of the API, running on port 8000.
fastapi dev
The production server should not be used alone.
When deploying, a reverse proxy with a webserver like Apache, Nginx or Caddy should be used.
You should also deny connections to port 8000 from outside the network.
The server runs on port 8000.
fastapi run
- @CuriousCodingCanadian for bug fixes and improved docs