This repository contains the backend code for IPMS (Internship and Placement Management System), which provides necessary connections with phpMyAdmin and serves as the backend API endpoints for the Android application.
To set up the backend code for IPMS, follow the steps below:
-
Make sure you have PHP installed on your system. You can download PHP from the official PHP website: https://www.php.net/downloads.php.
-
Ensure that you have a web server (such as Apache or Nginx) installed and running on your machine. You can install Apache and PHP together using packages like XAMPP or WAMP, or you can install them separately.
-
Create a database in phpMyAdmin to store the data for IPMS. You can access phpMyAdmin through your web server's administration panel or directly through the phpMyAdmin website: https://www.phpmyadmin.net/.
-
Clone the IPMS repository by running the following command:
git clone https://github.com/shoaib749/IPMS.git
-
Navigate to the cloned repository:
cd IPMS
-
Open the
config.php
file located in theapi
directory and modify the database connection details according to your setup. Update the following lines with your database credentials:define('DB_HOST', 'localhost'); define('DB_NAME', 'your_database_name'); define('DB_USER', 'your_username'); define('DB_PASSWORD', 'your_password');
-
Once you have updated the database connection details, save the
config.php
file. -
Move the entire
IPMS
folder to the appropriate directory of your web server. For Apache, you can usually place it in thehtdocs
directory. -
Start your web server and make sure it is running correctly.
-
Now you can access the backend API endpoints for IPMS by visiting
http://localhost/IPMS/api/
in your web browser.
The backend code for IPMS has the following dependencies:
- PHP (version 5.6 or higher)
- MySQL (or any other compatible database supported by PHP)
- Web server (such as Apache or Nginx)
This project is licensed under the MIT License.
Thank you for your interest in IPMS (Internship and Placement Management System)! If you have any questions or need further assistance, please don't hesitate to contact us.