CREATE DATABASE quanta;
\c quanta
\i init.sql
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python app.py
cd frontend
npm install
npm run serve
cd backend
docker build -t backend .
docker run -p 5000:5000 backend
cd frontend
docker build -t frontend .
docker run -p 8080:8080 frontend
Search through articles, reports, and profiles Filter results by category View detailed information for each result Bookmark items for later reference
POST /search: Search with optional category filter GET /bookmarks: Retrieve all bookmarked items POST /bookmarks: Save a new bookmark
Challenge: Couldn't see if search was working or returning results Solution: Added debug prints in Flask backend to track search requests and responses
Challenge: Bookmarks weren't showing up in the bookmarks view Solution: Fixed the database column names (result_id → result) and corrected the SQL query joins
Challenge: Bookmark button was showing up in both search and bookmarks view Solution: Created separate SearchResult.vue and BookmarkResult.vue components to handle different views
Challenge: Getting 400 (BAD REQUEST) and 415 errors when fetching bookmarks Solution: Added proper headers and fixed the API endpoint response formatting