theMessenger is a free messaging service that allows you to stay connected with your friends and family. It is now part of the Challenjeu and this repo no longer will be updated.
- Express - Node.js
- React
- MongoDB
- Socket.IO
-
Clone the repo
git clone https://github.com/ShawnAlisson/theMessenger.git
-
Go to the client directory
cd client/
-
Set Client Variables in
.env
REACT_APP_SERVER_URL= e.g. http://localhost:8000/api/v1 REACT_APP_SOCKET_URI= e.g. http://localhost:8000
-
Go back to the root
cd ..
-
Set Server Variables in
.env
PORT = e.g. 8000 DB_URI= e.g. mongodb://127.0.0.1:27017 TOKEN_SECRET= TOKEN NODE_ENV = production
-
Install NPM packages and Build
npm run build
-
Run the server
npm start