✨ Pioneer: Your polaris to shaping opportunities and navigating challenges in immigration, and job hunting, social networking across North America.
Main Features are:
- 📜 Sum : A service offering immigration guidance, skill-based job matching, networking support, skill evaluation, and insights into North American job hunting.
.
├── backend # Django backend project folder
│ └── search_api # Search API app
│
├── docker_nginx # Docker Nginx folder
│ └── Dockerfile # An OS image
│
└── frontend # React frontend project folder
└── build
└── static # Built static files for React
- Backend: Python 3.11+ installed on your system.
- Frontend: Node.js v18+ and npm installed.
- Global: Docker and Docker Compose installed.
-
Install the Python version specified in
/.python-version
:pyenv install 3.11.9
-
Set up a virtual environment:
python -m venv .venv source .venv/bin/activate # On Windows, use .venv\Scripts\activate
-
Install dependencies: Installed via requirements.txt:
pip install -r requirements.txt
- Django~=5.1.4
- djangorestframework~=3.15.2
- python-dotenv~=1.0.1
- requests~=2.32.3
- openai~=1.58.1
-
Navigate to the backend folder:
cd backend
-
Set environment variables:
- Create a .env file to manage sensitive data and configurations:
cp .env.example .env
- Open the .env file and add the following:
# Create an .env_local file using the following as a guide TAVILY_API_KEY=your-api-key-here OPENAI_API_KEY=your-api-key-here OPENAI_BASE_URL=https://generativelanguage.googleapis.com/v1beta/openai/ OPENAI_LLM_MODEL=gemini-2.0-flash-exp
- Add your API keys and configurations:
- TAVILY_API_KEY: Obtain from Tavily.
- OPENAI_API_KEY: Obtain from Google AI Studio.
- Create a .env file to manage sensitive data and configurations:
-
Run the server:
python manage.py runserver 0.0.0.0:8002
-
Endpoints:
- Home: http://127.0.0.1:8002/
- Search API: http://127.0.0.1:8002/api/search
-
Generate migration files:
python manage.py makemigrations
-
Apply migrations to the database:
python manage.py migrate
- Navigate to the docker_nginx folder:
cd docker_nginx
- Build and run the services:
docker-compose up --build
- Access the app at http://localhost
- Stop the services:
docker-compose down
-
Navigate to the frontend folder:
cd frontend
-
Install dependencies:
npm install
-
Set environment variables:
- Copy .env.example to .env.
cp .env.example .env
- Open .env and replace placeholder values with actual API keys:
REACT_APP_GOOGLE_MAPS_API_KEY=your_actual_api_key_here
-
Start the development server:
npm start
- Tavily API:
- Use Tavily API for location-based insights and immigration-related searches.
- Gemini 2.0 API:
- Use Google Gemini 2.0 for advanced AI-based recommendations.
- Google Map Platform API:
- Use Google Maps API for location-based services.