CollegeHub is a web application designed to assist prospective students in India to search for IT and Management colleges. It provides comprehensive information about colleges, including courses offered and contact details. The application is built using the MERN stack (MongoDB, Express, React, Node.js) and employs web scraping techniques using Scrapy to ensure data is accurate and up-to-date.
- Search for IT and Management colleges in India.
- Detailed information about courses offered and contact details of colleges.
- User-friendly interface with great UI/UX.
- Responsive design compatible with various devices and screens.
- Accurate and up-to-date data sourced via web scraping.
- Frontend: React.js
- Backend: Node.js, Express.js
- Database: MongoDB
- Web Scraping: Scrapy (Python)
- Version Control: Git
- Node.js (v14.x or higher)
- MongoDB
- Python (3.x)
- Scrapy
-
Clone the repository:
git clone [https://github.com/AYUSH-148/IT_AND_MANAG-Database.git](https://github.com/AYUSH-148/IT_AND_MANAG-Database.git) cd IT_AND_MANAG-Database -
Install backend dependencies:
npm install
-
Create a
.envfile in the backend directory with the following content:MONGODB_URI=mongodb://localhost:27017/collegehub PORT=7000 -
Start the backend server:
npm start
-
Navigate to the frontend directory:
cd ../frontend -
Install frontend dependencies:
npm install
-
Start the frontend server:
npm start
-
Navigate to the
scrapydirectory:cd ../scrapyPython -
Install Scrapy:
pip install scrapy
-
Run the Scrapy spider to collect data:
scrapy crawl colleges
- Open your browser and navigate to
http://localhost:3000. - Use the search functionality to find colleges and view detailed information.
collegehub/
│
├── backend/
│ ├── controllers/
│ ├── models/
│ ├── routes/
│ ├── server.js
│ ├── .env
│ └── package.json
│
├── frontend/
│ ├── public/
│ ├── src/
│ ├── .env
│ └── package.json
│
├── scrapy/
│ ├── spiders/
│ ├── items.py
│ ├── middlewares.py
│ ├── pipelines.py
│ ├── settings.py
│ └── scrapy.cfg
│
└── README.md