@@ -82,7 +82,7 @@ python manage.py runserver
8282``` bash
8383cd backend
8484docker build -t instagram-scraper-api .
85- docker run -p 8000:8000 instagram-scraper-api
85+ docker run -p 3000:3000 instagram-scraper-api
8686```
8787
8888## Dependencies
@@ -98,7 +98,7 @@ docker run -p 8000:8000 instagram-scraper-api
9898
9999## Notes
100100
101- - The Django server runs on port 8000
101+ - The Django server runs on port 3000
102102- CSV files are now located in ` /backend/scripts/ `
103103- API endpoints are prefixed with ` /api/ `
104104- CORS is enabled for frontend integration
@@ -108,9 +108,9 @@ docker run -p 8000:8000 instagram-scraper-api
108108
109109| Goal/Description | cURL Command |
110110| ------------------| --------------|
111- | Get API info | ` curl http://localhost:8000 /api/ ` |
112- | Health check | ` curl http://localhost:8000/api /health/ ` |
113- | Get all events | ` curl http://localhost:8000 /api/events/ ` |
114- | Get all clubs | ` curl http://localhost:8000 /api/clubs/ ` |
115- | Create mock event | ` curl -X POST http://localhost:8000 /api/mock-event/ -H "Content-Type: application/json" -d '{"name": "Test Event", "location": "Test Location", "food": "Pizza"}' ` |
116- | Find similar events | ` curl "http://localhost:8000 /api/test-similarity/?text=Your%20Search%20Text" ` |
111+ | Get API info | ` curl http://localhost:3000 /api/ ` |
112+ | Health check | ` curl http://localhost:3000 /health/ ` |
113+ | Get all events | ` curl http://localhost:3000 /api/events/ ` |
114+ | Get all clubs | ` curl http://localhost:3000 /api/clubs/ ` |
115+ | Create mock event | ` curl -X POST http://localhost:3000 /api/mock-event/ -H "Content-Type: application/json" -d '{"name": "Test Event", "location": "Test Location", "food": "Pizza"}' ` |
116+ | Find similar events | ` curl "http://localhost:3000 /api/test-similarity/?text=Your%20Search%20Text" ` |
0 commit comments