Quanghihicoder / restaurant-ordering-system

Restaurant odering system Vue.js Express.js
MIT License
89 stars 34 forks source link

where i can deploy this website? #3

Open Joshxing opened 1 year ago

Joshxing commented 1 year ago

Hey i was wondering how can i deploy this website and make it live cuz the frontend and backend has separate folder

Quanghihicoder commented 8 months ago

hmm, yeah, I have developed this web in my 2nd year. A possible solution is to make some changes to the code, build the frontend folder into the backend, and then deploy the backend in any cloud like AWS. It will act like a client-side routing, when the user reaches the site, the backend will simply return the built index.hmtl file.

You can get the idea from this React page: https://create-react-app.dev/docs/deployment/

shubham29pathak commented 8 months ago

Maybe you can make a video about this, And using a free domain would be appreciated because students don't have money to invest just for the purpose of showcasing their projects. I hope you understand.

You know, This will help most people with this problem.

Please think about it and share the link in your git repo README file.

On Fri, Mar 1, 2024 at 10:57 PM Quang Hoang @.***> wrote:

hmm, yeah, I have developed this web in my 2nd year. A possible solution is to make some changes to the code, build the frontend folder into the backend, and then deploy the backend in any cloud like AWS. It will act like a client-side routing, when the user reaches the site, the backend will simply return the built index.hmtl file.

You can get the idea from this React page: https://create-react-app.dev/docs/deployment/

— Reply to this email directly, view it on GitHub https://github.com/Quanghihicoder/restaurant-ordering-system/issues/3#issuecomment-1973592484, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWIB7JMLESJ5VPX3YLRMGNDYWC26VAVCNFSM6AAAAAAV75CXC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZTGU4TENBYGQ . You are receiving this because you commented.Message ID: @.***>

Quanghihicoder commented 2 months ago

Hi, I just updated the code to support deployment. Just run the backend in an AWS EC2 instance. But remember to install mysql, node and all the environment for the website in that instance.