Simple project showcasing a Python backend (FastAPI) and a JavaScript frontend for tracking job applications.
Quick start (macOS):
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python "applicationsWebsite.py"
# then open http://127.0.0.1:8000 in a browserFiles added:
applicationsWebsite.py— FastAPI backend and static-file serverstatic/index.html— frontend UIstatic/app.js— frontend JS interacting with/api/applicationsstatic/styles.css— basic stylingrequirements.txt— Python dependencies
Notes:
- This uses an in-memory store. For persistence, replace the store with a database (SQLite/Postgres) and update the endpoints accordingly.
- This project now uses SQLite for persistence (file:
applications.db) viasqlmodel. - To reset data, delete the
applications.dbfile in the project folder. - To deploy, consider a process manager (systemd, Docker, or a cloud service) and configure CORS/HTTPS as needed.