This is created for the final requirement of our thesis subject. It is created using as a stand-alone API for the use of
our front-end application. It is created using Laravel 10 and PHP 8.2. It is a RESTful API that is used to create a system
similar to Reddit but focuses on cultivating student hobbies and interests.
This project is created by the following student:
-
Jaycie G. Dela Cruz - Front-end Developer
-
Nixon Jr. M. Somoza - Back-end Developer
-
Yvanne Zechael B. Vinzon- Project Manager
-
Jan Andrei M. Francisco - Researcher/Technical Writer
- PHP (version 8.0 or higher)
Get it from PHP Downloads
- Composer
Download from Composer
- MySQL or XAMPP (which includes MySQL)
- Download MySQL from MySQL Downloads
- Download XAMPP from XAMPP Download
The image below represents the structure of the database:
- Open a Terminal or Command Prompt:
Navigate to the project directory by running this command
cd example-path-to-project
- Install Dependencies:
Run this command :
composer install
- Environment Setup:
There is a .env.example already provided inside the project and to use that just run
cp .env.example .env
Generate the app key by running:
php artisan key:generate
- Database Configuration:
Open .env
file and configure the database
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_database_name
DB_USERNAME=your_username
DB_PASSWORD=your_password
- Migrate the Database:
Run the following command to setup the database tables
php artisan migrate
- Run the application:
Finally, start the Laravel server by running
php artisan serve