Skip to content

eric-batista/btk-python-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clone REPO

~> git clone --branch master https://github.com/Finnkell/btk-python-api.git
~> cd btk-python-api
~> git checkout -b sprint-<name_first_letter>0.1

Whole project packages installation SET-UP

First things first, create a venv or conda env to install the packages.

~> python -m venv btk_api_env
~> btk_api_env/Scripts/activate.bat
~> ./install_requirements.sh # it will install all packages necessary in the entire project

# BACKEND SET-UP and START SERVER
~> python ./backend/manage.py makemigrations && python ./backend/manage.py migrate 
~> python ./backend/manage.py createsuperuser
~> python ./backend/manage.py runserver

# FRONTEND START SERVER
~> streamlit run ./frontend/routes.py

Installation SET-UP to Frontend only

~> cd ./frontend
~> python -m venv btk_api_front_env
~> btk_api_front_env/Scripts/activate.bat
~> pip install -r ./requirements.txt

Installation SET-UP to Backend only

~> cd ./backend
~> python -m venv btk_api_back_env
~> btk_api_back_env/Scripts/activate.bat
~> pip install -r ./requirements.txt

Backend Available Routes

# ADMIN
GET|POST localhost:<port>/admin

# SETUPS
GET|POST localhost:<port>/setups/svr_model/
GET|POST localhost:<port>/setups/svr_model/fit
GET|POST localhost:<port>/setups/svr_model/predict

# TOOLS
GET|POST localhost:<port>/tools/

# AUTH
POST localhost:<port>/auth/register/
POST localhost:<port>/auth/login

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages