A web application for checking Afghanistan's Ministry of Higher Education (MoHE) Kankor examination results. Students can search and view their university entrance exam results by entering their unique ID number.
Kankor is the national university entrance examination in Afghanistan, conducted by the Ministry of Higher Education. This system allows students to easily access their exam results and admission information.
- Search by ID: Students can search their results using their 9-digit ID number
- Detailed Results: View comprehensive result information including:
- Student name and family details
- School and province information
- Kankor score
- Admission result and department
- User-friendly Interface: Clean, responsive design with Persian/Dari language support
- Real-time Loading: Visual loading indicators for better user experience
Before running this application, make sure you have the following installed:
- Clone the repository:
git clone https://github.com/abubaker47/kankor.git
cd kankor- Install dependencies:
npm install- Make sure MongoDB is running on your local machine:
# Start MongoDB service
mongod- Import the Kankor data into MongoDB:
# Import the CSV data into MongoDB
mongoimport --db kankor --collection kankor_res --type csv --headerline --file kankor.csv- Start the server:
npm startOr:
node server.js- Open your web browser and navigate to:
http://localhost:3000
- Enter a 9-digit student ID to search for results
kankor/
├── img/ # Images and icons
│ ├── mohe.png # Ministry of Higher Education logo
│ └── search.svg # Search icon
├── node_modules/ # Node.js dependencies
├── index.html # Main HTML page
├── server.js # Express server and API endpoints
├── kankor.csv # Kankor results data (CSV format)
├── package.json # Project dependencies and metadata
└── README.md # Project documentation
- Frontend: HTML5, CSS3, JavaScript (Vanilla)
- Backend: Node.js with Express.js
- Database: MongoDB
- Server: Express.js (port 3000)
Returns the main HTML page
Retrieves student results by ID
- Parameters:
id- 9-digit student ID - Response: JSON object with student information
The MongoDB collection kankor_res in the kankor database stores student records with the following fields:
id- Student ID (9 digits)name- Student's first namefather_name- Father's namegrand_father_name- Grandfather's nameschool- School nameprovince- Province namescore- Kankor exam scoreresult- Admission result and department
The application uses the following default configurations:
- MongoDB URL:
mongodb://localhost:27017 - Database Name:
kankor - Collection Name:
kankor_res - Server Port:
3000
To modify these settings, edit the server.js file.
Copyright © 2019 Ministry of Higher Education, Kankor Department, All Rights Reserved.
Powered by Elitech
This is an official government project for the Afghanistan Ministry of Higher Education. For any issues or suggestions, please contact the relevant authorities.
For technical support or inquiries, please contact the Kankor Department at the Ministry of Higher Education.