This is a course management project that allows user to create course, create instructors and allocate instructor to the course.
- PHP >= 8.0
- Composer
- MySQL or any other supported database
- Laravel >= 10.x
Follow these steps to set up your project locally:
git clone https://github.com/Aamir-Alam01/cmm-laravel
cd cmm-laravel
cp .env.example .env
- Edit the .env file to set your database connection details.
- Make sure you have Composer installed. Then, run:
composer install
- Run the following command to generate the application key:
php artisan key:generate
- Create a database with your desired name and configure the
.env
file with the database name and other configuration like username and password as per your settings.
- Execute the migration command to create the necessary database tables:
php artisan migrate
- You can serve your application using the built-in PHP server: database tables:
php artisan serve
- Now you can access your application at http://127.0.0.1:8000.
The Laravel framework is open-sourced software licensed under the MIT license.