#Need help with Medusa js deployment! It's been a month still stuck.localhost:9000 error

7 messages · Page 1 of 1 (latest)

eager tendon
#

we have deployed both Medusa JS backend (admin) and frontend ecommerce store. Both projects have been deployed on AWS server.
In the backend server admin, there is a small problem; the GET/POST request is hitting the localhost:9000 server endpoint. But we tried to change the endpoint from the env level to by adding it in the code statically nd still not working.

My concern is, do we need to add any special build command in the Medusa JS config.js file in order to deploy this?

Or if there is any simple method to deploy medusa backend we can follow that by creating a fresh medusa js project

lean vessel
#

A month?

eager tendon
# lean vessel A month?

yes! Any idea on deploying this..!
Or forgot our build atleast give us a proper resource to deploy medusa backend anywhere

lean vessel
#

But have you really worked on running this for a month?

#

You are running in dev mode.

#

Also, without proper domains it won't work anyway.

eager tendon
#

wht do you mean by proper domain your are saying we need a custom domain instead of ip addresss