Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

where i can deploy this website? #3

Open
Joshxing opened this issue Mar 19, 2023 · 3 comments
Open

where i can deploy this website? #3

Joshxing opened this issue Mar 19, 2023 · 3 comments

Comments

@Joshxing
Copy link

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

@Quanghihicoder
Copy link
Owner

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
Copy link

shubham29pathak commented Mar 2, 2024 via email

@Quanghihicoder
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants