A chat app that uses Node, MongoDB and React
The project requires multiple configurations in order to get working.
The backend API requires the config.env.example file to be changed to config.env
and set these properties
Name | Reccomended Value | Use |
PORT | 3000 | Port to run the Express server on |
MONGO_URI | mongodb://mongo:27017/chatapp | mongoDB url, for docker-compose use hostname of mongo |
BASE_URL | http://localhost:4000 | URL of whatever site is going to be in front of the API |
The backend and database have a docker-compose file to run them. You can find how to install docker and docker-compose on the docker documentation After installing docker-compose you should be able to just run the following command in the project directory
docker-compose up -d