Open Dr4gon opened 1 year ago
I fix the .env file in the backend and get the frontend error as well.
@Dr4gon ➜ /workspaces/graduation-project-fedect1/backend (main) $ docker-compose up backend
ERROR: Couldn't find env file: /workspaces/graduation-project-fedect1/frontend/.env
It's running with 2 manually created .env files and the knowledge what needs to go in there.
@Dr4gon ➜ /workspaces/graduation-project-fedect1/backend (main) $ docker-compose up
Building frontend
Two ideas:
Backend
MONGODB_CONNECTION_STRING=mongodb://mongo:27017
Frontend
VITE_API_BASE_URL=http://localhost:3000
@fedect1 I'm aware you shouldn't give out your "secrets" of mongodb. It's important to provide a Readme.md / setup that works out of the box. I'm doing the review with a beginners minds - I test everything as a new dev would. After the npm install this happens: