FastServer is simple API based server created in FastApi with Clients in various languages.
GPL-3.0 License
FastServer is server created in FastApi with Gateway Interface in Uvicorn and Clients in various languages available. this shows how to create a basic server with Users information and how to handle users data and operations listed below.
/add-user/
endpoint./update-user/
endpoint./remove-user/
endpoint./user/?id=
endpoint./server-info/
endpoint./null/
endpoint. [BETA] Risky.Json
.Server documentation is automatically generated using FastApi
.
Docs using OpenApi
ReDocs using OpenApi
Server is created in Python and to start server first install modules from requirements.txt
.
pip install fastapi
pip install vvicorn
python -m uvicorn FastServer:app --reload
python -u FastServer.py
Clients are created in various languages like C++,Go,JavaScript... to handle basic operations on users like Adding/Updating/Removing User operations.
here are list of following clients available and for sake of simplicity every client is named to FastClient
.
Cpp\FastClient.cpp
Contains client for FastServer.Cpp\lib
folder contains HTTPRequest.hpp
for sending/posting Http Requests to server and json.hpp
for parsing Json using JsonCpp
csharp\FastClient.cs
Contains client for FastServer.requirements.txt
listed as Newtonsoft.Json,RestSharp or use the command line.dotnet add package Newtonsoft.Json
golang\FastClient.go
Contains client for FastServer.nodejs\FastClient.js
Contains client for FastServer.requirements.txt
listed as request,Faker or use the command line.npm install request
python\FastClient.py
Contains client for FastServer.requirements.txt
listed as FastApi,Uvicorn,requests or use the command line.pip install fastapi
cargo install reqwest serde
written and maintained by Haseeb Mir ([email protected])