/contact-book-app

"Contact book" vue-application that allows you to display a list of contacts with the ability to add and sort them.

Primary LanguagePHPMIT LicenseMIT

Contact book App

"Contact book" vue-application that allows you to display a list of contacts with the ability to add and sort them.

Requirements:

  • docker-compose
  • frontend: Vue CLI, bootstrap css, without jquery
  • backend: php api without frameworks Laravel
  • database: mysql

Installation

Step-by-step instructions for starting a project:

Run docker-compose:

docker-compose up

Create .env and generate app key for a backend:

docker exec -it php cp .env.example .env
docker exec -it php php artisan key:generate

Make database migration and seeding:

docker exec -it php php artisan migrate:fresh --seed

Create .env file for a frontend (for running container):

docker exec -it vue cp .env.example .env

Create .env file for a frontend (for a stopped container):

cd frontend
cp .env.example .env
docker-compose restart

replace cp to copy for Windows OS

Run application:

http://localhost

License

This project is licensed under the MIT License