You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+31-6Lines changed: 31 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,13 @@ EasyRelocate is an open-source, non-commercial decision-support tool for housing
7
7
8
8
When relocating for an internship, research visit, or new job, housing information is often fragmented across multiple platforms, making comparison slow and error-prone. EasyRelocate helps users organize and compare housing options by focusing on what matters most: where to live, not where to book.
9
9
10
-
Users collect listings while browsing platforms such as Airbnb, Blueground, Facebook Group using a lightweight browser extension (only support Google Chrom now). EasyRelocate then aggregates the minimal, user-authorized information needed to visualize listings on a single map and compare them by price, location, and commute time to a chosen workplace.
10
+
Users collect listings while browsing platforms such as Airbnb, Blueground, Facebook Group using a lightweight browser extension (only supports Google Chrome for now). EasyRelocate then aggregates the minimal, user-authorized information needed to visualize listings on a single map and compare them by price, location, and commute time to a chosen workplace.
11
11
12
12
EasyRelocate does not scrape platforms server-side, host listings, process payments, or replace original marketplaces. It exists solely to help users make better relocation decisions, while respecting platform boundaries and directing all final actions back to the original sources.
13
13
14
14
## Repo structure
15
-
-`backend/`: FastAPI + SQLite API
16
-
-`frontend/`: React (Vite) web app (Google Maps JS map + routing, US-only for now)
15
+
-`backend/`: FastAPI API (SQLite for local dev; Postgres supported via `DATABASE_URL`)
EasyRelocate uses **admin-created workspace tokens** instead of a user login system. All API calls (except `/api/health`) require:
63
+
`Authorization: Bearer <workspace_token>`.
64
+
65
+
Create a token (local dev / admin):
66
+
```bash
67
+
cd backend
68
+
python scripts/create_workspace.py
56
69
```
57
70
71
+
Optional (self-serve onboarding): enable `ENABLE_PUBLIC_WORKSPACE_ISSUE=1` on the backend, then the web UI can issue a 30-day token automatically via `POST /api/workspaces/issue` (see `docs/DEPLOYMENT.md`).
72
+
73
+
Then paste `workspace_token` into:
74
+
- Web app: Compare page → **Workspace** panel → Save
75
+
- Chrome extension: Extension options → **Workspace token** → Save
76
+
58
77
### Chrome Extension (for developer)
59
78
The extension does not read `.env` files. Configure its API base URL in Chrome:
0 commit comments