This is a SPA to manage contacts. It's possible to add, view, list, search, delete, and see coming birthdays of contacts. Developed with Laravel, Vue.js, and Tailwind CSS.
It's required to have git, composer and npm installed to follow these steps:
- Clone this repository with
git clone https://github.com/Romanti-Ezer/MyNetwork.git
- Enter in the folder of the project
cd MyNetwork
- Install dependencies and generate build
- Install composer dependencies with
composer install
- Install npm dependencias and generate build with
npm install && npm run dev
- Install composer dependencies with
- Create a database
- You can give any name you want
- Database collation can be
latin1_swedish_ci
- Configure
.env
file- Copy the
.env.example
and rename to.env
- In this file configure the database connection
- Copy the
- Generate an application key running
php artisan key:generate
- Migrate database
- Run
php artisan migrate
to create the tables in the database
- Run
- Run tests
- Run
vendor/bin/phpunit
to execute all tests - Run
vendor/bin/phpunit --filter name_of_test
to execute a single test
- Run
- Configure virtual host if necessary
- Here I have a configuration that can help.
<VirtualHost my.network:80> ServerAdmin [email protected] DocumentRoot "E:/Projects/mynetwork/public" <Directory "E:/Projects/mynetwork/public"> Options All AllowOverride All Order Allow,Deny Allow from all Require all granted </Directory> ServerName my.network ServerAlias my.network ErrorLog "logs/my.network.log" </VirtualHost>
- If you create a virtual host, don't forget to change the APP_URL in the
.env
file
- Access the app url and create an account to use the system