Visit the complete documentation in documentation-resources
>Presentation
or click on this link
Notebook prototype accessible in the folder kindle-note-caster-notebook
py -3 -m venv venv
( note that the second venv
is the name we gave to this environment)
For intelliji: edit configurations> Use specified interpreter
venv\Scripts\activate
command to activate the environment. Then,(venv)
will be added in your terminal
Then , create the file managing the environment variables:
DATABASE_HOSTNAME=
DATABASE_PORT=
DATABASE_PASSWORD=
DATABASE_NAME=
DATABASE_USERNAME=
SECRET_KEY=
ALGORITHM=
ACCESS_TOKEN_EXPIRE_MINUTES=
from the folder, \kindle-note-caster\kindle-note-caster-api\app
, launch: uvicorn main:app --reload
to generate the key fot the security algorithm, to put in the .env: openssl rand -hex 32
{
"marketing": "Lecture/Marketing.docx",
"sales": "Lecture/Sales.docx"
}
No commercial use intended , check https://github.com/Sanjeev-Thiyagarajan/fastapi-course
from the root of this project, launch pytest