Job_Board is a project designed to scrape job postings, process them on the backend, and provide a frontend interface for users to view and interact with the data.
-
Navigate to the backend directory:
cd backend -
Install dependencies:
npm install -
Set up environment variables:
- Create a
.envfile in thebackenddirectory. - Add the required variables (e.g., database connection strings, API keys).
- Create a
-
Run the backend server:
npm startThe backend will be available at `http://localhost:5000` ---
-
Navigate to the scraper directory:
cd scraper -
Install dependencies:
pip install -r requirements.txt -
Run the scraper:
python scraper.pyThe scraper will fetch job postings and store them in the backend's database.
Since the frontend is not fully added to GitHub (only the src folder is available), follow these steps:
-
Create a new React project:
npx create-react-app frontend -
Replace the
srcfolder:- Delete the
srcfolder in the newly createdfrontenddirectory. - Copy the provided
srcfolder into thefrontenddirectory.
- Delete the
-
Install dependencies:
cd frontend npm install -
Run the frontend:
npm startThe frontend will be available at
http://localhost:3000.
- The backend and scraper are assumed to use Node.js and Python, respectively.
- The database connection and API keys are configured via environment variables.
- The frontend
srcfolder contains all necessary components and logic to run the application.
Job_Board/
├── backend/ # Backend server code
├── scraper/ # Scraper scripts
├── src/ # Frontend source code (to be integrated into a React project)
└── README.md # Documentation
- Backend: Node.js with Express for scalability and ease of development.
- Scraper: Python for its rich ecosystem of libraries like
BeautifulSoupandrequests. - Frontend: React for its component-based architecture and ease of integration with APIs.
- Database: Assumed to be a relational database (e.g., PostgreSQL) for structured job data storage.