Backend replies heavily on
PHP 8.x.x
andLaravel
. If you dont have php installed, follow this link on setting it up. Setup PHP ON (mac,linux,windows)
- move into the desired project folder
backend
- Install all projects dependencies using
composer install
.
If you dont have composer installed, download composer with this link.
- Start backend server locally..
php artisan serve
. This should startup a local server @ `http://localhost:8000
make sure MYSQL server has started locally before running the above commands.
php artisan make:model Users --migrate
php artisan migrate
php artisan cache:clear
If an error occur while migrating, cross check the
**.env**
file and make sure you passed the correct database informations
# mysql database setup
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=engineering360
DB_USERNAME=root
DB_PASSWORD=