Skip to content

SportacusRu/Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend

Backend-server for Spartacus. Documentation for use

For running

If you use poetry

poetry install 
poetry run uvicorn src.app.app:app

Else if you use pip

pip install -r requirements.txt
uvicorn src.app.app:app

ENV

APP_DATABASE_LINK="mongodb_link"
MODERATOR_KEY="MODERATOR_KEY"
JWT_SECRET_KEY="SECRET KEY"

MAIL_FROM="example@mail.com"
MAIL_SERVER="smtp.mail.com"
MAIL_PORT="465"
MAIL_USERNAME="example@mail.com"
MAIL_PASSWORD="password"

VERIFY_ENDPOINT="https://site/verify_email/"