A simple virtual business card to improve your network and reachability.
- Firstly you need to install the system required packages. If you are running on a Unix system, you could run the following command to install the required packages. If you are running on a Windows system or another you could search about the dependencies separated and install each one.
chmod +x install-system-requirements.sh && sudo ./install-system-requirements.sh
- After install the system required packages, you must run the following command to install the Laravel required packages.
composer install
- By now your application has the necessary dependencies, but still not operating. Copy the
.env.example
file as.env
and run the following command to generate the app key.
php artisan key:generate
- Run the following command to run the migrations using artisan:
php artisan migrate
- Run the following command to generate some fake data for testing purposes
php artisan db:seed
- Finally, run the following command to serve the API
php artisan serve
- Copy the
.env.example
file as.env
. You could run the API using Laravel Sail. For it, just setup the following alias into your local.bashrc
file:
alias sail='[ -f sail ] && sh sail || sh vendor/bin/sail'
- Now, run the following command to up the containers
sail up -d
- By now your application has the necessary dependencies, but still not operating. Run the following command to generate the app key.
sail artisan key:generate
- Run the following command to run the migrations using artisan:
sail artisan migrate
- Run the following command to generate some fake data for testing purposes
sail artisan db:seed
And then, your API will be up and running.
This project is licensed under the MIT Licence. See more information about here
- Gabriel Santos Cardoso - eng.gabrielscardoso@gmail.com