- Backend server running on
http://localhost:8000 - Frontend server running on
http://localhost:3000
cd backend
python manage.py runservercd frontend
npm start- GET
http://localhost:8000/api/companies/- Should return empty list initially - POST
http://localhost:8000/api/companies/with body:{ "name": "Google", "description": "Tech company", "website": "https://google.com", "industry": "Technology" }
- GET
http://localhost:8000/api/jobs/- Should return empty list initially - POST
http://localhost:8000/api/jobs/with body:{ "title": "Software Engineer", "description": "Full-stack developer role", "company": 1, "requirements": "Python, React, Django", "location": "Mountain View, CA", "salary_range": "$120k-$180k", "job_type": "full-time" }
- POST
http://localhost:8000/api/resumes/base-cv/upload/with a file upload - GET
http://localhost:8000/api/resumes/base-cv/latest/- Should return latest CV
- Open
http://localhost:3000 - Click on the base node (Upload base cv here)
- In the control panel, add a company name (e.g., "Google")
- Click "✓ Add" - Should create a company node
- Click on the company node
- Add a job title (e.g., "Software Engineer")
- Click "✓ Add" - Should create a job node
- Click on the base node
- Upload a CV file (PDF, DOC, DOCX, or TXT)
- Should show "Uploading CV..." then "Uploaded: filename"
- Click on any company or job node
- Click the "Edit" button
- Change the name and click "Save"
- Should update both frontend and backend
- Click on any company or job node
- Click "🗑 Delete Node & Children"
- Confirm deletion
- Should remove from both frontend and backend
- All frontend actions should sync with backend
- Loading states should show during API calls
- Error messages should display if API calls fail
- Data should persist after page refresh
If you see CORS errors, check that:
- Backend CORS settings include
http://localhost:3000 - Backend is running on port 8000
- Frontend is running on port 3000
- Check browser network tab for failed requests
- Verify backend server is running
- Check backend logs for errors
- Run
python manage.py migrateto ensure database is up to date - Check that SQLite database file exists in backend directory