nSedrickm / trackmylost-API

The API powering the TrackMyLost app

Home Page:https://trackmylost.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TrackMyLost Server

Setup guide

  1. Clone the code

  2. Create a new database in MySQL

  3. Create .env file from .env.example template

    cp .env.example .env
  4. Open .env file and fill in the database connection details

    DB_CONNECTION=mysql
    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=
    DB_USERNAME=
    DB_PASSWORD=
  5. install composer dependencies

    composer install
  6. Migrate database schema

    php artisan migrate
  7. generate a new encryption key

    php artisan key:generate
  8. Start the server

    php artisan serve

About

The API powering the TrackMyLost app

https://trackmylost.herokuapp.com/

License:MIT License


Languages

Language:PHP 84.6%Language:Blade 14.7%Language:Shell 0.7%