Skip to content

approvebutton/api

Repository files navigation

api

Backend side of orgini app

https://api.approvebutton.com

docs

https://docs.approvebutton.com

https://github.com/approvebutton/api

https://approvebutton.github.io/api/

install apicra in Pycharm folder

cd  %USERPROFILE%\PycharmProjects\
mkdir .apicra
echo .apicra/ >> .gitignore
git clone https://github.com/apicra/npm-github-win.git .apicra

install python module for apicra

.apicra\-module.bat i python

install python over apicra

create project over apicra on github

.apicra\-project-create.bat "tom-sapletta-com" "apicra/win-python"

install environment

apicra/python/install.bat

install app

install.bat

Start

uvicorn main:app --reload

http://127.0.0.1:8000/docs

http://127.0.0.1:8000/redoc

http://127.0.0.1:8000/items/5?q=somequery

docker fastapi

https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker

image.bat
container.bat
browser.bat

http:/localhost/docs http:/localhost/redoc http:/localhost/items/5?q=somequery

docker

.\apicra\docker\run.bat
.\apicra\docker\stop.bat
docker images -a
docker ps -a

docker - compose

:: docker build -t  origini-api_front:latest
docker-compose -f docker-compose.yml up

Clone

git clone https://github.com/origini/api.git origini-api
cd origini-api

Deploy

deploy.sh

http://api.origini.vodapp.com:88/ http://api.origini.vodapp.com:88/docs http://api.origini.vodapp.com:88/redoc http://api.origini.vodapp.com:88/items/5?q=somequery

About

RESTAPI for create, update, read, delete button.json based on unitAPI config, PYTHON fastapi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published