Skip to content

BenceBakos/mini-crm-in-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mini-crm-in-laravel

This project is for educational purposes only.

Run

Start docker

In /server:

composer install
docker-compose up

Migrating & Seeding database

sudo docker-compose exec myapp php artisan migrate:fresh 
sudo docker-compose exec myapp php artisan db:seed

Link storage

sudo docker-compose exec myapp php artisan storage:link

Localhost

Visit localhost:8001

Admin login

User:

Password:

hardcoded

Troubleshoot

"file_get_contents(/app/.env): Failed to open stream: No such file or directory" error

cp server/.env.example server/.env.exaple
sudo docker-compose exec myapp php artisan key:generate

Flutter

For the sake of simplicity, I added flutter build to the repository, so you don't have to build it.

Build flutter(only necessary for development):

In client folder run:

flutter build web

after building, the files from /client/build/web will be served on http://localhost:8001/

Development in flutter

Flutter let's you use chrome(ium) as your dev device, no need to build every time to use the API, you can use the API provided by laravel in that device. :)

sources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published