Skip to content

itsgurmannatsohal/mvc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MVC architecture for the LMS

Backend project with MVC architecture

Setup

  1. Clone the repository using git clone followed by the SSH key and cd into it.

  2. Install composer using:

    > curl -s https://getcomposer.org/installer | php
    > sudo mv composer.phar /usr/local/bin/composer
    
  3. Install dependencies and dump-autoload:

    > composer install
    > composer dump-autoload
    
  4. Copy config/sample.config.php as config/config.php and edit it accordingly:

    > cp config/sample.config.php config/config.php
    # Edit the file using your mysql database credentials
    
  5. Import schema present in schema/schema.sql in your database.

  6. Serve the public folder at any port (say 8080):

    > cd public
    > php -S localhost:8080
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published