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-PyAPIThe 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 ./requirementsDebian (and derivatives):
sudo apt install postgresqlArch (and derivatives):
sudo pacman -S postgresqlUbuntu/Debian:
sudo apt-get install gitArch:
sudo pacman -S gitThe Dev Server allows for local, and only local access of the API, running on port 8000.
fastapi devThe production server should not be used alone.
When deploying, a reverse proxy with a webserver like Apache, Nginx or Caddy (recommended) should be used.
You should also deny connections to port 8000 from outside the network.
The server runs on port 8000.
fastapi runCreate a file named serverseekerv2.env and fill it according to the .env.example file on the GitHub Repository.
When deploying, a reverse proxy with a webserver like Apache, Nginx or Caddy (recommended) should be used.
You should also deny connections to port 8000 from outside the network.
The server runs on port 8000.
docker run --mount type=bind,src=./serverseekerv2.env,dst=/usr/src/app/.env -p 8000:8000 -d nucceteere/serverseekerv2-pyapi- @CuriousCodingCanadian for bug fixes and improved docs