I have created a project for the end of a course with Laravel 8 api and Vuejs for the front part but I can’t deploy it on Netlify.
Here is the address: https://alumni-epitech.netlify.app.
I just have information to build the Vue js part : npm run build and ‘dist‘ for the directory.
Don’t hesitate if I didn’t give you enough informations
So, are you having problems deploying it, as in is your build returning an error or something? I’m sorry, I didn’t really understand your question completely.
Sorry I didn’t get enough informations. I found how to build the vuejs part but I don’t know how to integrate the laravel api on netlify. I have 2 different ports on my localhost and I don’t know how I could do the same thing on netlify.
Oh, in that case, sadly, from what I know, you can’t host Laravel on Netlify. You can however host it somewhere else and use its API if possible. The Vue JS part should work fine here though.
Read more about what Netlify can and cannot do here:
Last reviewed by Netlify Support on December 2022
How do I run a server/database at Netlify?
We often get questions about how to run a specific backend server or database at Netlify. Examples of these types of questions include:
How to I get my node HTTP listener to respond to requests?
How do I start Mongo/MySQL/<insert-some-database-here> running on the server?
How can I SSH into my website?
We are here today to answer these questions - and the answer is: you can’t!
What do you m…