How To Install
Note: I made this project with nginx as web server and Laradock.
URL API :
- /api/register/user
- /api/login/user
- /api/logout/user
- /api/topup
Without Laradock
- Clone this repo project
- enter to the clone directory (mini_ewallet) and run this command
composer install
- copy the .env.example and rename it to .env, you can use this command
cp .env.example .env
- run this command to generate key
php artisan key:generate
- run this command
sudo chmod -R 777 storage/
andsudo chmod -R 775 bootstrap/
- finally run the laravel with command
php artisan serve
- DONE
With laradock
- Clone this repo project to your laradock project directory
- Don't forget to configure your nginx for laradock, I don't want to mention it how to configure.
- enter to the clone directory (mini_ewallet) and run this command
composer install
- copy the .env.example and rename it to .env, you can use this command
cp .env.example .env
- run this command to generate key
php artisan key:generate
- run this command
chmod -R 777 storage/
andchmod -R 775 bootstrap/
- DONE