ucan-lab / docker-laravel

🐳 Build a simple laravel development environment with Docker Compose.
https://dev.to/ucan_lab/how-to-install-and-set-up-laravel-s-local-development-environment-with-docker-compose-5bcf
MIT License
1.17k stars 380 forks source link

please show me how i can use next js #271

Open vahidalvandi opened 3 months ago

vahidalvandi commented 3 months ago

this my stracture

/src/frontend /src

ucan-lab commented 3 months ago

I usually manage GitHub repositories for the backend (Laravel) and frontend (Next.js) separately. However, if you want to manage the backend and frontend in the same GitHub repository, I think I would do it like this.

/src → /backend # Rename directory, install Laravel
/frontend # New directory, install Next.js
vahidalvandi commented 3 months ago

If they are separate, it can be managed better. Please give an example of two separate projects. And be sure to put the next js sample in the wiki