Skip to content

ShawnAlisson/theMessenger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

theMessenger

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.

Built With

  • Express - Node.js
  • React
  • MongoDB
  • Socket.IO

Getting Started

  1. Clone the repo

    git clone https://github.com/ShawnAlisson/theMessenger.git
  2. Go to the client directory

    cd client/
  3. 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
  4. Go back to the root

    cd ..
  5. 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
  6. Install NPM packages and Build

    npm run build
  7. Run the server

    npm start

(back to top)