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

Awesome Compose react-express-mongodb #366

Open
Pawel1894 opened this issue Jun 11, 2023 · 2 comments
Open

Awesome Compose react-express-mongodb #366

Pawel1894 opened this issue Jun 11, 2023 · 2 comments

Comments

@Pawel1894
Copy link

Hey,

React + Express + MongoDB example is in a really bad shape right now. Readme files and actual setup is much different which is quite confusing, names and dockerfiles does not match the descriptions.
Link to example

@WeirdDNA
Copy link

WeirdDNA commented Feb 1, 2024

Any ideas on how to get this to work? Trying on my mac, and the back end says it's started and online, but has absolutely no logs displayed.

When I try to add a TODO from the front end, it says

2024-02-01 11:22:42 Proxy error: Could not proxy request /api/todos from localhost:3001 to http://backend:3000.
2024-02-01 11:22:42 See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).

lsof shows I have port 3001 in use (by this docker project), and nothing on 3000.

@Pawel1894
Copy link
Author

Pawel1894 commented Feb 3, 2024

Any ideas on how to get this to work? Trying on my mac, and the back end says it's started and online, but has absolutely no logs displayed.

When I try to add a TODO from the front end, it says

2024-02-01 11:22:42 Proxy error: Could not proxy request /api/todos from localhost:3001 to http://backend:3000. 2024-02-01 11:22:42 See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).

lsof shows I have port 3001 in use (by this docker project), and nothing on 3000.

I remember I did make it to work but can't find this repo 😞 . The only one i found is nestjs+react+postgres+rabbitmq maybe it will help you somehow to navigate the problem. https://github.com/Pawel1894/DevScribe

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

2 participants