Skip to content

Evgeniy-Golodnykh/prosept_product_markup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prosept Product Markup

Description

Manufacturer and marketplace product matching app

Quick Start backend

  1. Clone repo
git clone git@github.com:Evgeniy-Golodnykh/prosept_product_markup.git
  1. Creates a virtual environment
python3 -m venv venv
  1. Activates the virtual environment
source venv/bin/activate
  1. Go to backend folder
cd backend
  1. Upgrade PIP and installs the requirements package into the virtual environment
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
  1. Configure the .env file like this
APP_TITLE=Prosept product markup
APP_DESCRIPTION=Сервис для автоматизации сопоставления товаров
SECRET=top_secret
FIRST_SUPERUSER_EMAIL=admin@gmail.com
FIRST_SUPERUSER_PASSWORD=secret_password
FIRST_SUPERUSER_FIRST_NAME=some_name
FIRST_SUPERUSER_LAST_NAME=some_lastname
MATCHING_COUNT=5
DATABASE_URL=postgresql+asyncpg://postgres:postgres@db:5432/prosept
  1. To create database (only PostgreSQL) use command
alembic upgrade head
  1. To run the application use command
uvicorn app.main:app --reload

Swagger: API Documentation

http://127.0.0.1:8000/docs/

Technology

Python, FastAPI, SQLAlchemy, PostgreSQL, Docker

Authors

Backend:

Backend Unit Testing:

Frontend:

Data Science:

CI/CD pipeline status

Prosept product markup workflow