JoPilot is a web application designed to assist with job applications. It consists of three main components:
- Backend API: A Flask-based API that serves data to the frontend.
- Frontend: A React-based web application that interacts with the backend API.
- JoPilot Extension: A browser extension that provides additional functionality related to job applications.
- Python 3.x
- Node.js and npm
- A web browser (for testing the extension)
-
Navigate to the backend directory:
cd backend-api -
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
- On Windows:
venv\Scripts\activate
- On macOS/Linux:
source venv/bin/activate
- On Windows:
-
Install the required packages:
pip install -r requirements.txt
-
Run the Flask application:
python run.py
The backend API will be available at
http://localhost:5000.
- ImportError: cannot import name 'url_quote' from 'werkzeug.urls' when starting run.py
pip install Flask==3.0.3
-
Navigate to the frontend directory:
cd frontend -
Install the required packages:
npm install
-
Run Development Server:
npm run dev
-
Navigate to the extension directory:
cd joPilot_extension -
Load the extension in your browser:
- Open your browser and navigate to the extensions page.
- Enable "Developer mode".
- Click "Load unpacked" and select the
joPilot_extensiondirectory.
The extension will be available in your browser.
To test the entire setup:
- Start the backend API.
- Start the frontend application.
- Load the JoPilot extension in your browser.
- Open the frontend application in your browser and interact with it to see data fetched from the backend API.
- Use the JoPilot extension to test its functionality.
JoPilot is a web application designed to assist with job applications. It consists of three main components:
- Backend API: A Flask-based API that serves data to the frontend.
- Frontend: A React-based web application that interacts with the backend API.
- JoPilot Extension: A browser extension that provides additional functionality related to job applications.
- Python 3.x
- Node.js and npm
- A web browser (for testing the extension)
-
Navigate to the backend directory:
cd backend-api -
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
- On Windows:
venv\Scripts\activate
- On macOS/Linux:
source venv/bin/activate
- On Windows:
-
Install the required packages:
pip install -r requirements.txt
-
Run the Flask application:
python run.py
The backend API will be available at
http://localhost:5000.
- ImportError: cannot import name 'url_quote' from 'werkzeug.urls' when starting run.py
pip install Flask==3.0.3
-
Navigate to the frontend directory:
cd frontend -
Install the required packages:
npm install
-
Run Development Server:
npm run dev
-
Navigate to the extension directory:
cd joPilot_extension -
Load the extension in your browser:
- Open your browser and navigate to the extensions page.
- Enable "Developer mode".
- Click "Load unpacked" and select the
joPilot_extensiondirectory.
The extension will be available in your browser.
backend-api/app/__init__.py: Initializes the Flask application and sets up the routes.backend-api/app/routes.py: Defines the API endpoints.backend-api/app/models.py: Contains data models (currently a sampleUsermodel).backend-api/requirements.txt: Lists the Python dependencies.backend-api/run.py: Entry point to run the Flask application.
frontend/src/App.js: Main React component.frontend/src/index.js: Entry point for the React application.frontend/public/index.html: HTML template for the React application.frontend/package.json: Lists the JavaScript dependencies and scripts.
joPilot_extension/index.html: HTML file for the extension popup.joPilot_extension/manifest.json: Configuration file for the extension.joPilot_extension/popup.js: JavaScript file for the extension's functionality.joPilot_extension/style.css: CSS file for the extension's styling.
To test the entire setup:
- Start the backend API.
- Start the frontend application.
- Load the JoPilot extension in your browser.
- Open the frontend application in your browser and interact with it to see data fetched from the backend API.
- Use the JoPilot extension to test its functionality.