Skip to content

AYUSH-148/IT_AND_MANAG-Database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CollegeHub

Overview

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.

Table of Contents

Features

  • 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.

Technologies Used

  • Frontend: React.js
  • Backend: Node.js, Express.js
  • Database: MongoDB
  • Web Scraping: Scrapy (Python)
  • Version Control: Git

Installation

Prerequisites

  • Node.js (v14.x or higher)
  • MongoDB
  • Python (3.x)
  • Scrapy

Backend Setup

  1. 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
  2. Install backend dependencies:

    npm install
  3. Create a .env file in the backend directory with the following content:

    MONGODB_URI=mongodb://localhost:27017/collegehub
    PORT=7000
    
  4. Start the backend server:

    npm start

Frontend Setup

  1. Navigate to the frontend directory:

    cd ../frontend
  2. Install frontend dependencies:

    npm install
  3. Start the frontend server:

    npm start

Web Scraping Setup

  1. Navigate to the scrapy directory:

    cd ../scrapyPython
  2. Install Scrapy:

    pip install scrapy
  3. Run the Scrapy spider to collect data:

    scrapy crawl colleges

Usage

  1. Open your browser and navigate to http://localhost:3000.
  2. Use the search functionality to find colleges and view detailed information.

Project Structure

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

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors