Clone the repo locally:
git clone https://github.com/Manuel-kl/contacts-ms.git
cd contacts-ms
Install PHP dependencies:
composer install
Install NPM dependencies:
npm install
Build assets:
npm run dev
Setup configuration:
cp .env.example .env
Open the .env
file and setup your database username and password
DB_USERNAME=your_database_username
DB_PASSWORD=your_database_password
Generate application key:
php artisan key:generate
Run database migrations:
php artisan migrate
Run database seeder (To seed contacts categories):
php artisan db:seed
Create symbolic link for storage
php artisan storage:link
Run the development server:
php artisan serve