This repository contains the server-side code for the MentorMe Android app with RESTful APIs.
git clone https://github.com/Vaneeza-7/Server-Side-Code-for-mentorme-android-app-with-restful-api.git
Ensure you have the XAMPP server with MySQL installed.
-
Move Project Folder:
Move the
mentorme
folder from the cloned repository to thehtdocs
folder in your XAMPP installation directory. The typical path is:C:\xampp\htdocs
-
Start XAMPP:
Open the XAMPP Control Panel and start the Apache and MySQL modules.
-
Set Up the Database:
- Open your web browser and go to
http://localhost/phpmyadmin
. - Create a new database named
mentorme
. - The schema file is not provided here but you can easily figure it out from the php files and set up the tables. (sorry for inconvenience)
- Open your web browser and go to
-
Configure Database Connection:
- Open the
dbconfig.php
file located inside thementorme
folder. - Update the database connection settings (hostname, username, password, database name) to match your MySQL configuration:
<?php $servername = "localhost"; $username = "root"; $password = ""; $dbname = "mentorme"; ?>
- Open the
Once the setup is complete, you can access the application by navigating to:
http://localhost/mentorme
For additional information, please refer to the main app repository..