This is a simple web application and API for events locator. It is built using Laravel. Check the hosted application here
- Web based
- REST API
-
PHP, Composer
-
MySQL database
git clone git@github.com:muhozi/Eventlocator-api.git
This project uses laravel (php framework) and you need to have a php package manager installed which is Composer
cd Eventlocator-app
composer install
Copy the contents of .env.example
by running the following:
cp .env.examle .env
Run the following command to generate the application key(for encryption and hashing)
php artisan key:generate
Create database and replace DB connnection details section in .env
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=db_name
DB_USERNAME=db_username
DB_PASSWORD=db_password
Run migration by running the following command:
php artisan migrate
Run the application using the following command:
php artisan serve