This app could be really useful when analyzing articles or publications and trying to
assess the biases and sentiments contained in them.
I thought I could find some technologies to do all the JavaScripty stuff
without all the JavaScript for a challenge :P
It utilizes htmx in order to load HTML partials without refreshing the page
and not depend on JavaScript to achieve that effect.
_hyperscript is utilized when in need of some DOM manipulation and Web API usage :)
Run the following from terminal:
python -m virtualenv venv
.\venv\Scripts\activate # source venv/bin/activate in bash
pip install -r requirements.txt
python nltk_resource_setup.pyuvicorn main:appor if you wish to have hot reload (useful when in development)
uvicorn main:app --reloadpytestwith coverage:
pytest --cov=.pytest .\tests\functional_tests\functional_tests.py # pytest tests/functional_tests/* in bash- FastAPI https://fastapi.tiangolo.com/
- htmx https://htmx.org/
- _hyperscript https://hyperscript.org/
- Tailwind CSS https://tailwindcss.com/
- Flowbite https://flowbite.com/