You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your project looks great. One thing can do for getting CORS error on server.
Revamp with _vite i_nstead cra(create react app)
Use Tsx instead jsx for typesafety.
In backend I thing everything looks cool still you can use come advanced postgre schema (not necessary)
You can add a simple tracking system of the order after completion can do it using some simple logics.
After the completion of the order send a mail to the customer with the billing conf that's look user friendly.
for deployment
CRA is not deployment friendly vite will solve the bug
Create a container for both server and client and build in docker and then deploy in render.
create an other private git repo consisting the address of the render address like const response = await fetch("https://syx.onrender.com/api/get-pizza")and in server do use cors npm i cors, app.use(cors()) and allow every origin like "*"
Deploy the client in vercel and change the domain according to your use cases. Everything will be awesome.
And this is a 2+ years project so for that time being that's nice but this stuff is for those who recently wanna build this via cloning.
The text was updated successfully, but these errors were encountered:
Your project looks great. One thing can do for getting CORS error on server.
for deployment
const response = await fetch("https://syx.onrender.com/api/get-pizza")
and in server do use corsnpm i cors, app.use(cors()) and allow every origin like "*"
And this is a 2+ years project so for that time being that's nice but this stuff is for those who recently wanna build this via cloning.
The text was updated successfully, but these errors were encountered: